Skip to content

Kubernetes Security Fundamentals Questions

Practice questions for Kubernetes Security Fundamentals topic in Kubernetes and Cloud Native Security Associate. 45 questions covering this domain.

45 questions12 easy21 medium12 hard
Q1
hard

An audit policy contains several rules that could match the same API request. Which rule determines the audit level that is applied?

Q2
medium

A namespace has a default deny egress NetworkPolicy and applications suddenly cannot resolve DNS names. What is the most likely reason?

Q3
easy

A developer needs to store confidential API credentials for a workload. Which Kubernetes object is designed for that purpose?

Q4
medium

In Kubernetes v1.22 and later, how are ServiceAccount credentials normally provided to a Pod?

Q5
easy

A namespace is labeled pod-security.kubernetes.io/enforce=restricted. What happens when a new Pod violates that enforced policy?

Q6
medium

Why is granting list access to Secret objects considered sensitive?

Q7
medium

A platform team wants to reuse the same permission set in multiple namespaces but grant it only inside each target namespace. Which RBAC pattern fits ...

Q8
medium

A workload should not receive API credentials automatically unless it explicitly needs them. What setting in the Pod spec disables automatic token inj...

Q9
easy

Which Pod Security Standards level is aimed at ease of adoption while preventing known privilege escalations?

Q10
hard

A team creates a Deployment whose Pod template violates the namespace's enforced Pod Security level. Which statement is correct?

Q11
hard

A source Pod and a destination Pod are both selected by NetworkPolicies. Under Kubernetes semantics, when is a connection between them allowed?

Q12
medium

Which Kubernetes RBAC pattern allows an organization to extend a built-in ClusterRole over time by labeling additional ClusterRoles so their rules are...

Q13
hard

An administrator wants to restrict who may create RoleBindings that reference an existing high-privilege ClusterRole, even when the requester is allow...

Q14
easy

Which Pod Security Standards level is the most permissive and is intended for system or infrastructure workloads that legitimately need full privilege...

Q15
easy

If no NetworkPolicy objects select a Pod in a namespace, what is the default Kubernetes behavior for ingress and egress traffic to and from that Pod?

Q16
medium

An administrator with the cluster-admin role uses kubectl with --as=alice to test a permission. Which RBAC verb on the users resource must the adminis...

Q17
medium

In Kubernetes 1.22+, projected ServiceAccount tokens used by Pods include an `audience` claim. What is the security purpose of binding tokens to a spe...

Q18
medium

Which Kubernetes audit policy level records the request body and response body for a matching API request, providing the highest fidelity for forensic...

Q19
hard

An organization wants to prevent any Pod in a namespace from setting `hostPID: true`, `hostIPC: true`, or `hostNetwork: true` and to apply this at adm...

Q20
easy

Which Kubernetes authentication strategy authenticates a user by validating a TLS client certificate signed by a CA that the kube-apiserver trusts via...

Sign in to see all 45 questions

Create a free account to browse all questions — completely free during our launch phase.