Container & K8s Security interview questions

36 real Container & K8s Security questions from the Security bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Container image scanning?

Junior
  1. A.mesh sidecars enforcing mutual TLS between services for encrypted, authenticated traffic
  2. B.cluster webhook that validates or mutates resource requests before they are persisted
  3. C.analyzing image layers for known-vulnerable packages before deployment
  4. D.exposure of credentials placed in environment variables that leak via logs or process listings
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Container image scanning — analyzing image layers for known-vulnerable packages before deployment
  2. B.Container image scanning — Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
  3. C.Container image scanning — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  4. D.Container image scanning — container running with host-level capabilities that can break isolation if compromised
Reveal the answer + AI explanation — free account

4. What is Image signing?

Junior
  1. A.cryptographically signing container images so only verified images are deployed
  2. B.mesh sidecars enforcing mutual TLS between services for encrypted, authenticated traffic
  3. C.using a small or distroless base image to shrink the attack surface of a container
  4. D.Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Image signing — escaping a container's isolation to execute code on the underlying host
  2. B.Image signing — mesh sidecars enforcing mutual TLS between services for encrypted, authenticated traffic
  3. C.Image signing — cryptographically signing container images so only verified images are deployed
  4. D.Image signing — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
Reveal the answer + AI explanation — free account

7. What is Minimal base image?

Junior
  1. A.using a small or distroless base image to shrink the attack surface of a container
  2. B.cryptographically signing container images so only verified images are deployed
  3. C.role-based authorization governing which subjects may perform actions on cluster resources
  4. D.cluster webhook that validates or mutates resource requests before they are persisted
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.Minimal base image — container running with host-level capabilities that can break isolation if compromised
  2. B.Minimal base image — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  3. C.Minimal base image — using a small or distroless base image to shrink the attack surface of a container
  4. D.Minimal base image — cryptographically signing container images so only verified images are deployed
Reveal the answer + AI explanation — free account

10. What is Secrets in env vars risk?

Junior
  1. A.role-based authorization governing which subjects may perform actions on cluster resources
  2. B.Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
  3. C.exposure of credentials placed in environment variables that leak via logs or process listings
  4. D.analyzing image layers for known-vulnerable packages before deployment
Reveal the answer + AI explanation — free account

11. Which term means: "exposure of credentials placed in environment variables that leak via logs or process listings"?

Junior
  1. A.Admission controller
  2. B.Runtime security (eBPF)
  3. C.Secrets in env vars risk
  4. D.Image signing
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.Secrets in env vars risk — analyzing image layers for known-vulnerable packages before deployment
  2. B.Secrets in env vars risk — Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
  3. C.Secrets in env vars risk — exposure of credentials placed in environment variables that leak via logs or process listings
  4. D.Secrets in env vars risk — cryptographically signing container images so only verified images are deployed
Reveal the answer + AI explanation — free account

13. What is Privileged container?

Mid
  1. A.container running with host-level capabilities that can break isolation if compromised
  2. B.detecting malicious container behavior at runtime via kernel-level eBPF instrumentation
  3. C.exposure of credentials placed in environment variables that leak via logs or process listings
  4. D.escaping a container's isolation to execute code on the underlying host
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Privileged container — mesh sidecars enforcing mutual TLS between services for encrypted, authenticated traffic
  2. B.Privileged container — escaping a container's isolation to execute code on the underlying host
  3. C.Privileged container — exposure of credentials placed in environment variables that leak via logs or process listings
  4. D.Privileged container — container running with host-level capabilities that can break isolation if compromised
Reveal the answer + AI explanation — free account

16. What is Pod Security Standards?

Mid
  1. A.escaping a container's isolation to execute code on the underlying host
  2. B.analyzing image layers for known-vulnerable packages before deployment
  3. C.Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  4. D.Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.Pod Security Standards — exposure of credentials placed in environment variables that leak via logs or process listings
  2. B.Pod Security Standards — container running with host-level capabilities that can break isolation if compromised
  3. C.Pod Security Standards — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  4. D.Pod Security Standards — escaping a container's isolation to execute code on the underlying host
Reveal the answer + AI explanation — free account

19. What is Network policy?

Mid
  1. A.detecting malicious container behavior at runtime via kernel-level eBPF instrumentation
  2. B.analyzing image layers for known-vulnerable packages before deployment
  3. C.cryptographically signing container images so only verified images are deployed
  4. D.Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Network policy — Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
  2. B.Network policy — container running with host-level capabilities that can break isolation if compromised
  3. C.Network policy — cryptographically signing container images so only verified images are deployed
  4. D.Network policy — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
Reveal the answer + AI explanation — free account

22. What is Kubernetes RBAC?

Mid
  1. A.Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  2. B.container running with host-level capabilities that can break isolation if compromised
  3. C.cryptographically signing container images so only verified images are deployed
  4. D.role-based authorization governing which subjects may perform actions on cluster resources
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Mid
  1. A.Kubernetes RBAC — cryptographically signing container images so only verified images are deployed
  2. B.Kubernetes RBAC — role-based authorization governing which subjects may perform actions on cluster resources
  3. C.Kubernetes RBAC — Kubernetes policy levels (Privileged, Baseline, Restricted) constraining pod security settings
  4. D.Kubernetes RBAC — escaping a container's isolation to execute code on the underlying host
Reveal the answer + AI explanation — free account

25. What is Container breakout?

Senior
  1. A.escaping a container's isolation to execute code on the underlying host
  2. B.container running with host-level capabilities that can break isolation if compromised
  3. C.cluster webhook that validates or mutates resource requests before they are persisted
  4. D.using a small or distroless base image to shrink the attack surface of a container
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Senior
  1. A.Container breakout — mesh sidecars enforcing mutual TLS between services for encrypted, authenticated traffic
  2. B.Container breakout — Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
  3. C.Container breakout — escaping a container's isolation to execute code on the underlying host
  4. D.Container breakout — role-based authorization governing which subjects may perform actions on cluster resources
Reveal the answer + AI explanation — free account

28. What is Admission controller?

Senior
  1. A.cluster webhook that validates or mutates resource requests before they are persisted
  2. B.using a small or distroless base image to shrink the attack surface of a container
  3. C.role-based authorization governing which subjects may perform actions on cluster resources
  4. D.Kubernetes resource controlling allowed pod-to-pod and pod-to-external traffic
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Senior
  1. A.Admission controller — role-based authorization governing which subjects may perform actions on cluster resources
  2. B.Admission controller — escaping a container's isolation to execute code on the underlying host
  3. C.Admission controller — cryptographically signing container images so only verified images are deployed
  4. D.Admission controller — cluster webhook that validates or mutates resource requests before they are persisted
Reveal the answer + AI explanation — free account

Showing 30 of 36 Container & K8s Security questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Container & K8s Security free