Exercises

Kubernetes Workload Security Controls Quiz

Assess your ability to secure Kubernetes workloads and cluster components. This quiz covers authorization, security contexts, NetworkPolicies, service account tokens, Secret protection, software supply chain controls, seccomp, audit logging, and kubelet hardening. The questions combine practical scenarios with visual architecture and policy interpretation.

Answer the questions below and check the explanation for each answer.

0/12 answered

  1. 1

    Which Kubernetes mechanism should be used to grant a support team permission to view Pods in one namespace without allowing them to modify those Pods?

  2. 2

    The diagram shows a container process running as an unprivileged user while an attempt to start as root is blocked. Which Pod security setting most directly enforces this behavior?

    Question 2
  3. 3

    In the diagram, traffic entering a namespace is blocked from reaching every Pod, while outbound traffic remains unaffected. Which NetworkPolicy posture is depicted?

    Question 3
  4. 4

    Why are projected, short-lived service account tokens generally safer than legacy long-lived token Secrets?

  5. 5

    Which control protects Kubernetes Secret values from being stored as plaintext in etcd?

  6. 6

    The deployment pipeline shown permits verified container artifacts through an admission gate and rejects unverified artifacts. Which control implements this decision in the cluster?

    Question 6
  7. 7

    Why is setting privileged: true on a container considered high risk?

  8. 8

    What is the primary security effect of assigning the RuntimeDefault seccomp profile to a Pod?

  9. 9

    The diagram shows frontend Pods communicating with API Pods, while other workloads must not initiate connections to the API Pods. Which NetworkPolicy intent best enforces this design?

    Question 9
  10. 10

    During an investigation, an administrator needs to determine which identity deleted a Deployment through the Kubernetes API. Which data source is most useful?

  11. 11

    The diagram shows Secret records protected before they are written to the etcd datastore. Which security objective does this control primarily address?

    Question 11
  12. 12

    Which configuration best reduces the risk of unauthorized requests to a node's kubelet API?

Video Courses

Courses related to this topic

See all video courses

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate