KS
Kubernetes Security (KS) practice exams
290 questions in 5 timed practice tests. Each test has about 60 questions and a 90-minute limit. The pass mark is 70%. Results are split across the 6 exam domains.
Exam at a glance
| Practice tests | 5 |
|---|---|
| Questions in total | 290 |
| Questions per test | About 60 |
| Time limit per test | 90 minutes |
| Pass mark | 70% |
| Question types | Single answer and multiple answer (26 multiple-answer questions) |
| Level | Specialty |
| Category | DevOps & Cloud Native |
These are the settings of our practice tests. Check the official CNCF exam page for the current exam format before you book.
Domains and weights
| Domain | Weight | Weight bar | Questions in our bank |
|---|---|---|---|
| Cluster and Control Plane Hardening | 17% | 49 | |
| Identity, Authentication and RBAC | 18% | 52 | |
| Workload Security and Pod Security | 18% | 52 | |
| Network Security and Segmentation | 15% | 44 | |
| Software Supply Chain Security | 16% | 46 | |
| Runtime Detection and Incident Response | 16% | 47 |
Sample questions
Question 1 of 3, choose 2
A cluster runs the ingress-nginx controller with its validating admission webhook reachable from any Pod in the cluster. Following disclosure of critical vulnerabilities in that webhook that allowed unauthenticated code execution in the controller, which TWO actions reduce exposure? (Choose two.)
- A Set the webhook failurePolicy to Ignore so that broken requests are always allowed
- B Restrict network access to the admission webhook so only the API server can reach it (correct answer)
- C Upgrade the controller to a patched release, and plan migration because ingress-nginx is retired (correct answer)
- D Move the controller's TLS certificates into a ConfigMap so that they are easier to rotate
- E Give the controller's ServiceAccount the cluster-admin role so it can patch itself
Question 2 of 3
A security team installs a validating admission webhook that blocks images from unapproved registries and sets failurePolicy to Fail. During a node outage the webhook pods were evicted and the cluster could not recreate any pods, including the webhook itself and CoreDNS. Which change keeps the control fail-closed for application workloads while avoiding this deadlock?
- A Exclude kube-system and the webhook's own namespace with a namespaceSelector and run the webhook with multiple replicas and a PodDisruptionBudget (correct answer)
- B Replace the webhook with an audit policy at RequestResponse level so that violations are recorded instead of blocked at admission
- C Raise timeoutSeconds to 30 on the webhook configuration so that the API server waits much longer for the evicted webhook pods to be recreated
- D Switch failurePolicy to Ignore for every namespace so that pods are always admitted whenever the webhook backend cannot be reached
Question 3 of 3
An operator for a third-party database is installed and its ClusterRole includes the verbs 'bind' and 'escalate' on roles and clusterroles. The vendor says this is needed so the operator can create namespace Roles for the databases it manages. Which risk does this grant introduce?
- A The operator can only bind roles that already exist, so the grant is safe as long as no new ClusterRoles are created
- B The operator's ServiceAccount can create or bind roles with permissions it does not hold itself, including cluster-admin (correct answer)
- C The operator can impersonate any user, so its requests appear in audit logs under the impersonated user's name
- D The operator can approve CertificateSigningRequests and therefore mint client certificates for the system:masters group
See all 10 free KS questions with answers Read them or quiz yourself.
What your score report looks like
Example attempt, KS practice test 3
77%
Passed
Pass mark 70%
| Domain | Weight | Your score | % |
|---|---|---|---|
| Cluster and Control Plane Hardening | 17% | 88 | |
| Identity, Authentication and RBAC | 18% | 81 | |
| Workload Security and Pod Security | 18% | 76 | |
| Network Security and Segmentation | 15% | 58 | |
| Software Supply Chain Security | 16% | 84 | |
| Runtime Detection and Incident Response | 16% | 72 |
Study next: Network Security and Segmentation. It is below the pass mark and carries 15% of the exam.
Study plans
Two weeks
- Day 1: take practice test 1 in exam mode to get a baseline.
- Days 2 to 5: domain mode on Identity, Authentication and RBAC and Workload Security and Pod Security, the two most heavily weighted domains.
- Day 6: practice test 2 in exam mode, then the mistakes quiz.
- Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
- Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.
Four weeks
- Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
- Week 2: domain mode on those two domains, then a second practice test in exam mode.
- Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
- Week 4: practice test 5 and final mode until your readiness holds above the pass mark.
Questions about the KS practice exams
- Are these real KS exam questions?
- No. We write every question ourselves and map it to the published KS exam objectives. We do not use leaked or recalled questions.
- Do the time limit and pass mark match the official exam?
- They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
- Can I try it before I pay?
- Yes. The free mini exam has 15 questions with full explanations and needs no account.
- How long do I keep access?
- A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
- What happens after I finish a test?
- You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.
Related exams
| Exam | Vendor | Level | Questions | Minutes | Price |
|---|---|---|---|---|---|
| CAPAArgo CAPA | CNCF | Associate | 300 | 90 | $12.99 |
| CKACertified Kubernetes Administrator (CKA) | CNCF | Associate | 300 | 120 | $12.99 |
| 010-160LPI Linux Essentials 010-200 | LPI | Foundational | 200 | 60 | $9.99 |
| GH-900GitHub Foundations GH-900 | GitHub | Foundational | 300 | 100 | $9.99 |
| AT0-001CompTIA AutoOps+ AT0-001 | CompTIA | Associate | 300 | 60 | $12.99 |
| GH-100GitHub Enterprise GH-100 | GitHub | Associate | 300 | 100 | $12.99 |