100% Latest & Updated Linux Foundation KCSA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 270
A team resets the Kubernetes scheduler to respond to remote code execution in an application endpoint. Which caution is important before treating this as solved?
- Restricting Pod network egress does not automatically revoke an already exposed API credential.
- Using a private ClusterIP does not itself encrypt the application's TCP payload.
- An admission policy that disallows privileged Pods does not patch unsafe application logic.
- A CPU resource quota does not protect a public endpoint from all network DDoS patterns.
Explanation
Correct Answer
C:An admission policy that disallows privileged Pods does not patch unsafe application logic. The tested response is patch the vulnerable application, rotate exposed credentials and contain its runtime permissions.; that action does not by itself justify a stronger conclusion than the evidence supports.
Incorrect Answers
A:Restricting Pod network egress does not automatically revoke an already exposed API credential. The observed result concerns: A team resets the Kubernetes scheduler to respond to remote code execution in an application endpoint. The relevant limitation is more specific: An admission policy that disallows privileged Pods does not patch unsafe application logic.
B:Using a private ClusterIP does not itself encrypt the application's TCP payload. Its premise is not established by this incident. For the recorded behavior, the appropriate warning is: An admission policy that disallows privileged Pods does not patch unsafe application logic.
D:A CPU resource quota does not protect a public endpoint from all network DDoS patterns. That warning concerns resource quotas and limit ranges, not the inference raised by a team resets the Kubernetes scheduler to respond to remote code execution in an application endpoint. The relevant limit is: An admission policy that disallows privileged Pods does not patch unsafe application logic.
Question 271
A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. What technical rule most directly applies to this deployment?
- An attacker-controlled admission webhook can intercept or obstruct API creations when its configuration remains installed, so compromise cleanup must remove malicious admission policy and safeguard availability.
- Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption.
- A flood of Kubernetes API requests can overload the control plane; mitigation includes scoped credentials, API priority-and-fairness policy and upstream rate/traffic controls.
- A remotely exploitable application bug can run attacker code inside a Pod even when the cluster itself is configured correctly; response needs app remediation and containment.
Explanation
Correct Answer
B:Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. In this situation, A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. The most informative validation is: Observe the protocol and TLS handshake of the sensitive service flow.
Incorrect Answers
A:An attacker-controlled admission webhook can intercept or obstruct API creations when its configuration remains installed, so compromise cleanup must remove malicious admission policy and safeguard availability. The observed fault is: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. Its underlying mechanism is: Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. Test it with: Observe the protocol and TLS handshake of the sensitive service flow.
C:A flood of Kubernetes API requests can overload the control plane; mitigation includes scoped credentials, API priority-and-fairness policy and upstream rate/traffic controls. A healthy control for Control-plane API flood does not settle the reported symptom: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. The relevant test is: Observe the protocol and TLS handshake of the sensitive service flow.
D:A remotely exploitable application bug can run attacker code inside a Pod even when the cluster itself is configured correctly; response needs app remediation and containment. The premise for this rule is not established by the stated observations. The governing condition is: Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. Check it with: Observe the protocol and TLS handshake of the sensitive service flow.
Question 272
A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. Select TWO observations necessary for an informed correction. (Choose TWO.)
- Identify which endpoints authenticate peers and where encryption terminates.
- Map the requester, API endpoint and datastore routes.
- Observe the protocol and TLS handshake of the sensitive service flow.
- Inspect MutatingWebhookConfiguration and ValidatingWebhookConfiguration objects.
- Inspect DaemonSets, controller ownership and Pod privilege settings.
Explanation
Correct Answers
A:Identify which endpoints authenticate peers and where encryption terminates. This observation targets the suspected cause in the case: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. It tests the dependency behind the principle: Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. Cross-check with this independent test: Observe the protocol and TLS handshake of the sensitive service flow. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
C:Observe the protocol and TLS handshake of the sensitive service flow. This observation targets the suspected cause in the case: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. It tests the dependency behind the principle: Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. Cross-check with this independent test: Identify which endpoints authenticate peers and where encryption terminates. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
Incorrect Answers
B:Map the requester, API endpoint and datastore routes. That measures API server trust boundary. The controlling observation for this case is: Observe the protocol and TLS handshake of the sensitive service flow.
D:Inspect MutatingWebhookConfiguration and ValidatingWebhookConfiguration objects. A successful check here would not settle the reported issue: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. The diagnostic evidence is: Observe the protocol and TLS handshake of the sensitive service flow.
E:Inspect DaemonSets, controller ownership and Pod privilege settings. It examines Malicious privileged DaemonSet persistence, not the dependency shown by: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. Check: Observe the protocol and TLS handshake of the sensitive service flow.
Question 273
A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. Which targeted action MOST directly addresses the verified problem?
- Remove unnecessary API permissions and avoid token mounting when not required.
- Protect the sensitive connection with approved mutually authenticated encryption where required.
- Remove the malicious controller, rotate affected credentials and restrict privileged workload admission.
- Remove sensitive logging, rotate leaked values and limit log-reader permissions.
Explanation
Correct Answer
B:Protect the sensitive connection with approved mutually authenticated encryption where required. This remediation addresses the failed dependency described in A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. The technical basis is: Pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. Before acting, verify: Observe the protocol and TLS handshake of the sensitive service flow. Then require the acceptance result: An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks. Avoid broader changes that could widen privileges or interrupt unrelated workloads.
Incorrect Answers
A:Remove unnecessary API permissions and avoid token mounting when not required. That change concerns Workload to Kubernetes API privilege boundary, while the reported failure is: A payroll microservice sends tokens in clear HTTP over a supposedly private overlay. The supported correction is: Protect the sensitive connection with approved mutually authenticated encryption where required.
C:Remove the malicious controller, rotate affected credentials and restrict privileged workload admission. Its success would not establish the required outcome: An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks. The needed change is: Protect the sensitive connection with approved mutually authenticated encryption where required.
D:Remove sensitive logging, rotate leaked values and limit log-reader permissions. That intervention could improve Secret disclosure via logs without resolving the reported symptom. The diagnostic is: Observe the protocol and TLS handshake of the sensitive service flow. The correction is: Protect the sensitive connection with approved mutually authenticated encryption where required.
Question 274
An assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. What evidence would justify closing this case?
- The workload keeps required functionality but is denied unrelated API modifications.
- Approved requests work and the previously reproduced malicious request fails.
- Business workloads run without privilege escalation and approved infrastructure agents remain operational.
- An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks.
Explanation
Correct Answer
D:An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks. It demonstrates the effect of protect the sensitive connection with approved mutually authenticated encryption where required. for the observed issue: An assessor finds database credentials readable on a captured Pod-to-Pod traffic segment.
Incorrect Answers
A:The workload keeps required functionality but is denied unrelated API modifications. It measures a different function, not whether pod-to-Pod traffic inside a cluster is not inherently encrypted by default; sensitive calls may require application TLS, mesh mTLS or supported network encryption. The specific post-change test is: An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks.
B:Approved requests work and the previously reproduced malicious request fails. It would not confirm the effect of the scoped change: Protect the sensitive connection with approved mutually authenticated encryption where required. The required evidence is: An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks.
C:Business workloads run without privilege escalation and approved infrastructure agents remain operational. This could be true while the stated problem persists: An assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. Acceptance requires: An authorized client establishes an encrypted and authenticated session while an impostor fails identity checks.
Question 275
An assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. Which caution BEST prevents a mistaken conclusion here?
- Encryption of Secrets in etcd does not redact passwords printed into application logs.
- Restarting or scaling a compromised Deployment can recreate the same unwanted code.
- Using a private ClusterIP does not itself encrypt the application's TCP payload.
- Kubernetes namespace RBAC is not a substitute for cloud object storage authorization.
Explanation
Correct Answer
C:Using a private ClusterIP does not itself encrypt the application's TCP payload. The case evidence concerns an assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. This warning limits what can be concluded without checking the affected dependency separately.
Incorrect Answers
A:Encryption of Secrets in etcd does not redact passwords printed into application logs. Here the proposed action is protect the sensitive connection with approved mutually authenticated encryption where required.; the conclusion must also respect: Using a private ClusterIP does not itself encrypt the application's TCP payload.
B:Restarting or scaling a compromised Deployment can recreate the same unwanted code. That warning concerns compromised image deployment persistence, not the inference raised by an assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. The relevant limit is: Using a private ClusterIP does not itself encrypt the application's TCP payload.
D:Kubernetes namespace RBAC is not a substitute for cloud object storage authorization. The observed result concerns: An assessor finds database credentials readable on a captured Pod-to-Pod traffic segment. The relevant limitation is more specific: Using a private ClusterIP does not itself encrypt the application's TCP payload.
Question 276
A payment Pod logs full authorization headers during an exception. Which security distinction BEST explains the risk?
- An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access.
- A flood of Kubernetes API requests can overload the control plane; mitigation includes scoped credentials, API priority-and-fairness policy and upstream rate/traffic controls.
- A compromised application Pod can abuse its mounted service-account token if the token grants more API rights than the workload needs.
- An attacker with rights to create a privileged DaemonSet can keep host-level code running across nodes; persistence controls must include workload creation rights and runtime policy.
Explanation
Correct Answer
A:An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. The scenario is: A payment Pod logs full authorization headers during an exception. A direct diagnostic is: Inspect log samples for secrets and tokens with careful handling.
Incorrect Answers
B:A flood of Kubernetes API requests can overload the control plane; mitigation includes scoped credentials, API priority-and-fairness policy and upstream rate/traffic controls. The premise for this rule is not established by the stated observations. The governing condition is: An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. Check it with: Inspect log samples for secrets and tokens with careful handling.
C:A compromised application Pod can abuse its mounted service-account token if the token grants more API rights than the workload needs. Its subject is Workload to Kubernetes API privilege boundary, but the observed symptom is: A payment Pod logs full authorization headers during an exception. The diagnostic check is: Inspect log samples for secrets and tokens with careful handling.
D:An attacker with rights to create a privileged DaemonSet can keep host-level code running across nodes; persistence controls must include workload creation rights and runtime policy. The observed fault is: A payment Pod logs full authorization headers during an exception. Its underlying mechanism is: An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. Test it with: Inspect log samples for secrets and tokens with careful handling.
Question 277
A payment Pod logs full authorization headers during an exception. Which evidence should be reviewed before changing the configuration?
- Inspect the Deployment image digest and update history.
- Inspect log samples for secrets and tokens with careful handling.
- Map the requester, API endpoint and datastore routes.
- Inspect bindings to cluster-admin and wildcard permissions.
Explanation
Correct Answer
B:Inspect log samples for secrets and tokens with careful handling. This observation targets the suspected cause in the case: A payment Pod logs full authorization headers during an exception. It tests the dependency behind the principle: An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. Cross-check with this independent test: Check which principals can query or export the log backend. The evidence should be gathered before changing security or workload configuration so that the correct layer is adjusted.
Incorrect Answers
A:Inspect the Deployment image digest and update history. That investigates compromised image deployment persistence, but would not establish the required condition: An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. Check instead: Inspect log samples for secrets and tokens with careful handling.
C:Map the requester, API endpoint and datastore routes. It examines API server trust boundary, not the dependency shown by: A payment Pod logs full authorization headers during an exception. Check: Inspect log samples for secrets and tokens with careful handling.
D:Inspect bindings to cluster-admin and wildcard permissions. This observation can be useful, but it does not test the controlling dependency. The direct check is: Inspect log samples for secrets and tokens with careful handling.
Question 278
A payment Pod logs full authorization headers during an exception. Which implementation step is the most appropriate remediation?
- Set appropriate quotas and resource requests/limits, then test legitimate workloads.
- Constrain direct backend access and require normal API identity and authorization for routine operations.
- Replace blanket cluster-admin binding with purpose-specific roles and rotate credentials.
- Remove sensitive logging, rotate leaked values and limit log-reader permissions.
Explanation
Correct Answer
D:Remove sensitive logging, rotate leaked values and limit log-reader permissions. This remediation addresses the failed dependency described in A payment Pod logs full authorization headers during an exception. The technical basis is: An application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. Before acting, verify: Inspect log samples for secrets and tokens with careful handling. Then require the acceptance result: Normal diagnostic events remain useful without exposing credential material. Avoid broader changes that could widen privileges or interrupt unrelated workloads.
Incorrect Answers
A:Set appropriate quotas and resource requests/limits, then test legitimate workloads. Its success would not establish the required outcome: Normal diagnostic events remain useful without exposing credential material. The needed change is: Remove sensitive logging, rotate leaked values and limit log-reader permissions.
B:Constrain direct backend access and require normal API identity and authorization for routine operations. That intervention could improve API server trust boundary without resolving the reported symptom. The diagnostic is: Inspect log samples for secrets and tokens with careful handling. The correction is: Remove sensitive logging, rotate leaked values and limit log-reader permissions.
C:Replace blanket cluster-admin binding with purpose-specific roles and rotate credentials. The incident involves: A payment Pod logs full authorization headers during an exception. Changing this setting would not substitute for the evidence-based response: Remove sensitive logging, rotate leaked values and limit log-reader permissions.
Question 279
A support dashboard displays environment variables containing database passwords from debug output. Select THREE pieces of diagnostic and acceptance evidence. (Choose THREE.)
- Check which principals can query or export the log backend.
- Unapproved workloads cannot access etcd directly and API operations remain attributable.
- A noisy tenant is bounded without blocking approved capacity for others.
- Inspect log samples for secrets and tokens with careful handling.
- Normal diagnostic events remain useful without exposing credential material.
- Approved resource requests no longer trigger the unexpected webhook behavior.
Explanation
Correct Answers
A:Check which principals can query or export the log backend. The result tests the affected function in: A support dashboard displays environment variables containing database passwords from debug output. The corrective action is: Remove sensitive logging, rotate leaked values and limit log-reader permissions.
D:Inspect log samples for secrets and tokens with careful handling. It demonstrates the effect of remove sensitive logging, rotate leaked values and limit log-reader permissions. for the observed issue: A support dashboard displays environment variables containing database passwords from debug output.
E:Normal diagnostic events remain useful without exposing credential material. The intended change—remove sensitive logging, rotate leaked values and limit log-reader permissions.—is not accepted merely because it was configured; this is the behavior that must be observed.
Incorrect Answers
B:Unapproved workloads cannot access etcd directly and API operations remain attributable. It would not confirm the effect of the scoped change: Remove sensitive logging, rotate leaked values and limit log-reader permissions. The required evidence is: Normal diagnostic events remain useful without exposing credential material.
C:A noisy tenant is bounded without blocking approved capacity for others. This could be true while the stated problem persists: A support dashboard displays environment variables containing database passwords from debug output. Acceptance requires: Normal diagnostic events remain useful without exposing credential material.
F:Approved resource requests no longer trigger the unexpected webhook behavior. It measures a different function, not whether an application can leak credentials through stdout or HTTP logs even when stored Secret objects are protected; redact sensitive values at emission and restrict log access. The specific post-change test is: Normal diagnostic events remain useful without exposing credential material.
Question 280
A support dashboard displays environment variables containing database passwords from debug output. Which caution is important before treating this as solved?
- Encryption of Secrets in etcd does not redact passwords printed into application logs.
- An admission policy that disallows privileged Pods does not patch unsafe application logic.
- A CPU resource quota does not protect a public endpoint from all network DDoS patterns.
- Kubernetes namespace RBAC is not a substitute for cloud object storage authorization.
Explanation
Correct Answer
A:Encryption of Secrets in etcd does not redact passwords printed into application logs. The tested response is remove sensitive logging, rotate leaked values and limit log-reader permissions.; that action does not by itself justify a stronger conclusion than the evidence supports.
Incorrect Answers
B:An admission policy that disallows privileged Pods does not patch unsafe application logic. That warning concerns exploited application runtime, not the inference raised by a support dashboard displays environment variables containing database passwords from debug output. The relevant limit is: Encryption of Secrets in etcd does not redact passwords printed into application logs.
C:A CPU resource quota does not protect a public endpoint from all network DDoS patterns. The stated evidence is narrower: A support dashboard displays environment variables containing database passwords from debug output. Avoid the unsupported conclusion described by: Encryption of Secrets in etcd does not redact passwords printed into application logs.
D:Kubernetes namespace RBAC is not a substitute for cloud object storage authorization. The observed result concerns: A support dashboard displays environment variables containing database passwords from debug output. The relevant limitation is more specific: Encryption of Secrets in etcd does not redact passwords printed into application logs.
Kubernetes and Cloud Native Security Associate (KCSA) Practice Tests