100% Latest & Updated Linux Foundation KCSA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 340
A team deploys sidecars and assumes that no cross-team service calls are possible. Which caution is important before treating this as solved?
- A signature proving integrity does not guarantee absence of application vulnerabilities.
- A complete SBOM does not prove the build pipeline was trustworthy.
- Mutual TLS by itself does not establish that every authenticated identity may access every application route.
- A path-based Ingress rule is not an egress firewall for all Pods.
Explanation
Correct Answer
C:Mutual TLS by itself does not establish that every authenticated identity may access every application route. The tested response is enable approved mTLS and restrict service identity access to required routes.; that action does not by itself justify a stronger conclusion than the evidence supports.
Incorrect Answers
A:A signature proving integrity does not guarantee absence of application vulnerabilities. The observed result concerns: A team deploys sidecars and assumes that no cross-team service calls are possible. The relevant limitation is more specific: Mutual TLS by itself does not establish that every authenticated identity may access every application route.
B:A complete SBOM does not prove the build pipeline was trustworthy. Its premise is not established by this incident. For the recorded behavior, the appropriate warning is: Mutual TLS by itself does not establish that every authenticated identity may access every application route.
D:A path-based Ingress rule is not an egress firewall for all Pods. That warning concerns ingress controller versus NetworkPolicy, not the inference raised by a team deploys sidecars and assumes that no cross-team service calls are possible. The relevant limit is: Mutual TLS by itself does not establish that every authenticated identity may access every application route.
Question 341
A legacy Pod without sidecar injection communicates with an otherwise meshed database. What technical rule most directly applies to this deployment?
- Service mesh mutual TLS authenticates workload peers and encrypts supported traffic; fine-grained authorization still requires appropriately configured policies.
- Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage.
- Build provenance records the source, builder and artifact subject to support verification of how software was produced; it is distinct from a vulnerability scan.
- Correlating API audit records with node logs and application traces distinguishes who changed a workload from what the resulting process did.
Explanation
Correct Answer
B:Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. The case involves: A legacy Pod without sidecar injection communicates with an otherwise meshed database. The direct diagnostic is: Inspect which Pods are enrolled in the mesh and injection state.
Incorrect Answers
A:Service mesh mutual TLS authenticates workload peers and encrypts supported traffic; fine-grained authorization still requires appropriately configured policies. A healthy control for mTLS identity versus authorization does not settle the reported symptom: A legacy Pod without sidecar injection communicates with an otherwise meshed database. The relevant test is: Inspect which Pods are enrolled in the mesh and injection state.
C:Build provenance records the source, builder and artifact subject to support verification of how software was produced; it is distinct from a vulnerability scan. Its subject is SLSA build provenance, but the observed symptom is: A legacy Pod without sidecar injection communicates with an otherwise meshed database. The diagnostic check is: Inspect which Pods are enrolled in the mesh and injection state.
D:Correlating API audit records with node logs and application traces distinguishes who changed a workload from what the resulting process did. The observed fault is: A legacy Pod without sidecar injection communicates with an otherwise meshed database. Its underlying mechanism is: Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. Test it with: Inspect which Pods are enrolled in the mesh and injection state.
Question 342
A legacy Pod without sidecar injection communicates with an otherwise meshed database. Select TWO observations necessary for an informed correction. (Choose TWO.)
- Inspect matching webhook rules, failurePolicy and timeout values.
- Inspect the image digest and attached signature evidence.
- Trace the actual network path of the affected service connection.
- Inspect which Pods are enrolled in the mesh and injection state.
- Inspect the presented SPIFFE ID and trust bundle.
Explanation
Correct Answers
C:Trace the actual network path of the affected service connection. This observation targets the suspected cause in the case: A legacy Pod without sidecar injection communicates with an otherwise meshed database. It tests the dependency behind the principle: Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. Cross-check with this independent test: Inspect which Pods are enrolled in the mesh and injection state. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
D:Inspect which Pods are enrolled in the mesh and injection state. This observation targets the suspected cause in the case: A legacy Pod without sidecar injection communicates with an otherwise meshed database. It tests the dependency behind the principle: Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. Cross-check with this independent test: Trace the actual network path of the affected service connection. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
Incorrect Answers
A:Inspect matching webhook rules, failurePolicy and timeout values. That investigates admission webhook fail-open behavior, but would not establish the required condition: Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. Check instead: Inspect which Pods are enrolled in the mesh and injection state.
B:Inspect the image digest and attached signature evidence. A successful check here would not settle the reported issue: A legacy Pod without sidecar injection communicates with an otherwise meshed database. The diagnostic evidence is: Inspect which Pods are enrolled in the mesh and injection state.
E:Inspect the presented SPIFFE ID and trust bundle. That measures SPIFFE workload identity and trust domain. The controlling observation for this case is: Inspect which Pods are enrolled in the mesh and injection state.
Question 343
A legacy Pod without sidecar injection communicates with an otherwise meshed database. Which targeted action MOST directly addresses the verified problem?
- Enroll required workloads and restrict bypass paths using appropriate network controls.
- Repair supported certificate issuance and rotation before expiry with staged trust updates.
- Require supported image signature verification during admission or promotion.
- Require verifiable provenance produced by approved build systems before promotion.
Explanation
Correct Answer
A:Enroll required workloads and restrict bypass paths using appropriate network controls. This remediation addresses the failed dependency described in A legacy Pod without sidecar injection communicates with an otherwise meshed database. The technical basis is: Mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. Before acting, verify: Inspect which Pods are enrolled in the mesh and injection state. Then require the acceptance result: Sensitive flows traverse the intended mesh policies, with exceptions documented and tested. Avoid broader changes that could widen privileges or interrupt unrelated workloads.
Incorrect Answers
B:Repair supported certificate issuance and rotation before expiry with staged trust updates. That intervention could improve Certificate renewal and trust anchors without resolving the reported symptom. The diagnostic is: Inspect which Pods are enrolled in the mesh and injection state. The correction is: Enroll required workloads and restrict bypass paths using appropriate network controls.
C:Require supported image signature verification during admission or promotion. The incident involves: A legacy Pod without sidecar injection communicates with an otherwise meshed database. Changing this setting would not substitute for the evidence-based response: Enroll required workloads and restrict bypass paths using appropriate network controls.
D:Require verifiable provenance produced by approved build systems before promotion. That change concerns SLSA build provenance, while the reported failure is: A legacy Pod without sidecar injection communicates with an otherwise meshed database. The supported correction is: Enroll required workloads and restrict bypass paths using appropriate network controls.
Question 344
An app binds a port excluded from interception and its traffic bypasses the assumed mesh policy. What evidence would justify closing this case?
- Sensitive flows traverse the intended mesh policies, with exceptions documented and tested.
- The intended signed digest passes while an unsigned or wrong-signer image fails.
- Secure connections continue through scheduled rotation and revoked identities are rejected.
- The admission outcome during failure matches the documented risk policy and legitimate requests remain manageable.
Explanation
Correct Answer
A:Sensitive flows traverse the intended mesh policies, with exceptions documented and tested. This must be observed after the scoped correction, not inferred from a saved configuration. The correction is: Enroll required workloads and restrict bypass paths using appropriate network controls.
Incorrect Answers
B:The intended signed digest passes while an unsigned or wrong-signer image fails. This outcome relates to Signature verification trust policy, not the behavior expected after the scoped correction. The acceptance result is: Sensitive flows traverse the intended mesh policies, with exceptions documented and tested.
C:Secure connections continue through scheduled rotation and revoked identities are rejected. A passing result could coexist with the original problem: An app binds a port excluded from interception and its traffic bypasses the assumed mesh policy. Check instead: Sensitive flows traverse the intended mesh policies, with exceptions documented and tested.
D:The admission outcome during failure matches the documented risk policy and legitimate requests remain manageable. It measures a different function, not whether mesh sidecar policies affect only traffic actually intercepted or handled by the chosen dataplane mode; bypass paths must be evaluated before claiming full coverage. The specific post-change test is: Sensitive flows traverse the intended mesh policies, with exceptions documented and tested.
Question 345
An app binds a port excluded from interception and its traffic bypasses the assumed mesh policy. Which caution BEST prevents a mistaken conclusion here?
- A path-based Ingress rule is not an egress firewall for all Pods.
- A cluster's Kubernetes RBAC Role does not necessarily control third-party registry upload permissions.
- FailurePolicy Ignore can allow requests when an enforcing webhook is unavailable.
- A service sidecar label does not prove hostNetwork or bypassed traffic is protected.
Explanation
Correct Answer
D:A service sidecar label does not prove hostNetwork or bypassed traffic is protected. The tested response is enroll required workloads and restrict bypass paths using appropriate network controls.; that action does not by itself justify a stronger conclusion than the evidence supports.
Incorrect Answers
A:A path-based Ingress rule is not an egress firewall for all Pods. The stated evidence is narrower: An app binds a port excluded from interception and its traffic bypasses the assumed mesh policy. Avoid the unsupported conclusion described by: A service sidecar label does not prove hostNetwork or bypassed traffic is protected.
B:A cluster's Kubernetes RBAC Role does not necessarily control third-party registry upload permissions. The observed result concerns: An app binds a port excluded from interception and its traffic bypasses the assumed mesh policy. The relevant limitation is more specific: A service sidecar label does not prove hostNetwork or bypassed traffic is protected.
C:FailurePolicy Ignore can allow requests when an enforcing webhook is unavailable. Its premise is not established by this incident. For the recorded behavior, the appropriate warning is: A service sidecar label does not prove hostNetwork or bypassed traffic is protected.
Question 346
A service scales to new Pods with different IPs and needs stable cryptographic identity. Which security distinction BEST explains the risk?
- Admission webhooks can validate policy, but failurePolicy and webhook availability affect whether a request is rejected when the webhook cannot be reached.
- Short-lived workload certificates reduce credential lifetime but depend on rotation and current trust bundles to avoid service failures.
- SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses.
- Build provenance records the source, builder and artifact subject to support verification of how software was produced; it is distinct from a vulnerability scan.
Explanation
Correct Answer
C:SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses. In this situation, A service scales to new Pods with different IPs and needs stable cryptographic identity. The most informative validation is: Inspect the presented SPIFFE ID and trust bundle.
Incorrect Answers
A:Admission webhooks can validate policy, but failurePolicy and webhook availability affect whether a request is rejected when the webhook cannot be reached. Its subject is Admission webhook fail-open behavior, but the observed symptom is: A service scales to new Pods with different IPs and needs stable cryptographic identity. The diagnostic check is: Inspect the presented SPIFFE ID and trust bundle.
B:Short-lived workload certificates reduce credential lifetime but depend on rotation and current trust bundles to avoid service failures. The observed fault is: A service scales to new Pods with different IPs and needs stable cryptographic identity. Its underlying mechanism is: SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses. Test it with: Inspect the presented SPIFFE ID and trust bundle.
D:Build provenance records the source, builder and artifact subject to support verification of how software was produced; it is distinct from a vulnerability scan. A healthy control for SLSA build provenance does not settle the reported symptom: A service scales to new Pods with different IPs and needs stable cryptographic identity. The relevant test is: Inspect the presented SPIFFE ID and trust bundle.
Question 347
A service scales to new Pods with different IPs and needs stable cryptographic identity. Which evidence should be reviewed before changing the configuration?
- Inspect the presented SPIFFE ID and trust bundle.
- Inspect matching webhook rules, failurePolicy and timeout values.
- Check certificate expiry and renewals for both sides.
- Inspect whether the sensor runs in monitor or enforcement mode.
Explanation
Correct Answer
A:Inspect the presented SPIFFE ID and trust bundle. This observation targets the suspected cause in the case: A service scales to new Pods with different IPs and needs stable cryptographic identity. It tests the dependency behind the principle: SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses. Cross-check with this independent test: Verify attestation and credential issuance by the approved trust domain. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
Incorrect Answers
B:Inspect matching webhook rules, failurePolicy and timeout values. This observation can be useful, but it does not test the controlling dependency. The direct check is: Inspect the presented SPIFFE ID and trust bundle.
C:Check certificate expiry and renewals for both sides. That measures Certificate renewal and trust anchors. The controlling observation for this case is: Inspect the presented SPIFFE ID and trust bundle.
D:Inspect whether the sensor runs in monitor or enforcement mode. That investigates runtime detection versus prevention, but would not establish the required condition: SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses. Check instead: Inspect the presented SPIFFE ID and trust bundle.
Question 348
A service scales to new Pods with different IPs and needs stable cryptographic identity. Which implementation step is the most appropriate remediation?
- Enroll required workloads and restrict bypass paths using appropriate network controls.
- Use supported workload identities and verify them at the receiving service.
- Require verifiable provenance produced by approved build systems before promotion.
- Rebuild from supported patched dependencies or record a bounded, reviewed exception.
Explanation
Correct Answer
B:Use supported workload identities and verify them at the receiving service. This remediation addresses the failed dependency described in A service scales to new Pods with different IPs and needs stable cryptographic identity. The technical basis is: SPIFFE identifies workloads with trust-domain-scoped identifiers, and an SVID is a verifiable credential; correct identity validation matters more than dynamic Pod IP addresses. Before acting, verify: Inspect the presented SPIFFE ID and trust bundle. Then require the acceptance result: Approved peer identities authenticate while untrusted domains are rejected. Avoid broader changes that could widen privileges or interrupt unrelated workloads.
Incorrect Answers
A:Enroll required workloads and restrict bypass paths using appropriate network controls. The incident involves: A service scales to new Pods with different IPs and needs stable cryptographic identity. Changing this setting would not substitute for the evidence-based response: Use supported workload identities and verify them at the receiving service.
C:Require verifiable provenance produced by approved build systems before promotion. The intervention targets an adjacent dependency, while the case needs: Use supported workload identities and verify them at the receiving service. Verify the result through: Approved peer identities authenticate while untrusted domains are rejected.
D:Rebuild from supported patched dependencies or record a bounded, reviewed exception. Its success would not establish the required outcome: Approved peer identities authenticate while untrusted domains are rejected. The needed change is: Use supported workload identities and verify them at the receiving service.
Question 349
A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. Select THREE pieces of diagnostic and acceptance evidence. (Choose THREE.)
- Workloads pull reviewed images and cannot overwrite or delete repository artifacts.
- Approved peer identities authenticate while untrusted domains are rejected.
- The admission outcome during failure matches the documented risk policy and legitimate requests remain manageable.
- The detection record matches the event and prohibited behavior is blocked only where enforcement is configured.
- Verify attestation and credential issuance by the approved trust domain.
- Inspect the presented SPIFFE ID and trust bundle.
Explanation
Correct Answers
B:Approved peer identities authenticate while untrusted domains are rejected. This must be observed after the scoped correction, not inferred from a saved configuration. The correction is: Use supported workload identities and verify them at the receiving service.
E:Verify attestation and credential issuance by the approved trust domain. The result tests the affected function in: A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. The corrective action is: Use supported workload identities and verify them at the receiving service.
F:Inspect the presented SPIFFE ID and trust bundle. After applying use supported workload identities and verify them at the receiving service., this observed result shows the affected service or control meets the stated requirement.
Incorrect Answers
A:Workloads pull reviewed images and cannot overwrite or delete repository artifacts. It would not confirm the effect of the scoped change: Use supported workload identities and verify them at the receiving service. The required evidence is: Approved peer identities authenticate while untrusted domains are rejected.
C:The admission outcome during failure matches the documented risk policy and legitimate requests remain manageable. This outcome relates to Admission webhook fail-open behavior, not the behavior expected after the scoped correction. The acceptance result is: Approved peer identities authenticate while untrusted domains are rejected.
D:The detection record matches the event and prohibited behavior is blocked only where enforcement is configured. A passing result could coexist with the original problem: A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. Check instead: Approved peer identities authenticate while untrusted domains are rejected.
Question 350
A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. Which caution is important before treating this as solved?
- An arbitrary self-signed certificate does not become trusted merely by using a SPIFFE-shaped name.
- A service sidecar label does not prove hostNetwork or bypassed traffic is protected.
- Renewing one endpoint certificate cannot fix a stale trust bundle on its peer.
- Observing a suspicious syscall does not demonstrate it was prevented.
Explanation
Correct Answer
A:An arbitrary self-signed certificate does not become trusted merely by using a SPIFFE-shaped name. In a peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. successful completion of one check must not be confused with broader assurance about related controls.
Incorrect Answers
B:A service sidecar label does not prove hostNetwork or bypassed traffic is protected. The stated evidence is narrower: A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. Avoid the unsupported conclusion described by: An arbitrary self-signed certificate does not become trusted merely by using a SPIFFE-shaped name.
C:Renewing one endpoint certificate cannot fix a stale trust bundle on its peer. The observed result concerns: A peer presents an SVID from an untrusted domain, but the receiver accepts it solely based on certificate presence. The relevant limitation is more specific: An arbitrary self-signed certificate does not become trusted merely by using a SPIFFE-shaped name.
D:Observing a suspicious syscall does not demonstrate it was prevented. Its premise is not established by this incident. For the recorded behavior, the appropriate warning is: An arbitrary self-signed certificate does not become trusted merely by using a SPIFFE-shaped name.
Kubernetes and Cloud Native Security Associate (KCSA) Practice Tests