← All CKA Flashcard Decks

Security Flashcards

7 cards from real CKA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Security flashcards as text
  1. What is the purpose of the `seccomp` profile `RuntimeDefault` in a pod's SecurityContext?

    Answer: Applies the container runtime's default syscall allowlist

    `RuntimeDefault` applies the container runtime's (e.g., containerd) built-in seccomp profile that blocks dangerous syscalls.

  2. Which RBAC verb is needed to allow a user to exec into a running pod?

    Answer: exec

    The `exec` verb on the `pods/exec` subresource is required to run `kubectl exec` against a pod.

  3. You want to audit all requests that resulted in a 403 response. Which audit policy level captures the request metadata including response code?

    Answer: Metadata

    The `Metadata` audit level records request metadata including verb, user, resource, and response code without capturing the body.

  4. A ClusterRole with `resourceNames: ["my-secret"]` restricts access to what?

    Answer: Only the specific secret named my-secret

    `resourceNames` limits the role to operate only on the named resource instance, not all instances of that resource type.

  5. Which tool is built into Kubernetes to encrypt etcd data at rest for Secrets?

    Answer: EncryptionConfiguration with a provider like AES-CBC

    An EncryptionConfiguration file referenced by the API server's `--encryption-provider-config` flag encrypts etcd data at rest.

  6. What does `automountServiceAccountToken: false` on a pod spec do?

    Answer: Prevents the ServiceAccount token from being mounted into the pod

    Setting `automountServiceAccountToken: false` stops Kubernetes from projecting the token into `/run/secrets/kubernetes.io/serviceaccount/`, reducing attack surface.

  7. Which Kubernetes admission controller validates and mutates resources based on custom policies using webhooks?

    Answer: ValidatingAdmissionWebhook

    `ValidatingAdmissionWebhook` calls external webhook servers to accept or reject API requests based on custom policy logic.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. training.linuxfoundation.org — Test delivery, eligibility, fees, time limit, exam information · verified Nov 2026
  2. docs.linuxfoundation.org — Passing score, renewal, score release, score validity, test dates · verified Oct 2026