# Kubernetes Applications (KA) practice exams

> Kubernetes Applications practice exams: 290 questions in 5 timed tests covering Workloads and Services. Every answer explained, with a score for each domain.

Page: https://devopscodelab.com/exams/kubernetes-applications/

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

| Setting | Value |
| --- | --- |
| 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 (29 multiple-answer questions) |
| Level | Associate |
| Category | DevOps & Cloud Native |

These are the settings of our practice tests. Check the official CNCF exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| Workloads and Application Lifecycle | 22% | 64 |
| Configuration and Secrets | 16% | 46 |
| Services, Ingress and Gateway API | 20% | 58 |
| Persistent Storage and Stateful Apps | 12% | 35 |
| Packaging and Delivery with Helm and Kustomize | 14% | 41 |
| Observability and Troubleshooting | 16% | 46 |

## Price and access

- KA practice exams: $12.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/kubernetes-applications/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/kubernetes-applications/free-practice-questions/

## Sample questions

### Question 1 of 3

A sidecar that ships logs must start before the main container and keep running for the whole Pod lifetime, and in Jobs it must not block completion. How is this declared in current Kubernetes?

- A. As a regular container listed before the main one
- B. As an ephemeral container added after Pod start
- C. As an init container with restartPolicy: Always
- D. As an init container with restartPolicy: OnFailure

**Answer:** C

**Explanation:** Native sidecars are init containers with restartPolicy Always: they start in init order, keep running alongside app containers and are stopped after the main containers finish, so Jobs can complete. Regular containers start without ordering guarantees and keep Jobs running, ephemeral containers are for debugging, and OnFailure is not a valid init container restart policy for this.

### Question 2 of 3

An API Pod must not start its main container until the database Service name db.payments.svc.cluster.local resolves in DNS. The application itself cannot be changed. Which approach meets this requirement?

- A. Add a postStart lifecycle hook to the main container that waits until the Service name resolves
- B. Add a sidecar container that polls DNS and writes a marker file the main container checks first
- C. Add a readiness probe to the main container that runs nslookup against the database Service
- D. Add an init container that loops on nslookup for the Service name and exits once it resolves

**Answer:** D

**Explanation:** Init containers run to completion before any app container starts, so a DNS wait loop there blocks the main container exactly as required. A readiness probe only gates traffic after the container has started, a postStart hook runs alongside the already started entrypoint, and a sidecar would require the unchangeable application to look for the marker file.

### Question 3 of 3

Pods in the namespace shop fail with ErrImagePull and an unauthorized error from a private registry. An administrator already created a docker-registry Secret named regcred in the namespace kube-system. What must be done?

- A. Reference kube-system/regcred in the Pod imagePullSecrets list using the namespace/name syntax
- B. Mount regcred as a volume at /root/.docker/config.json inside the application container
- C. Create the regcred Secret in shop and reference it in imagePullSecrets of the Pod or its ServiceAccount
- D. Set imagePullPolicy: Always so the kubelet retries the pull with the cluster default credentials

**Answer:** C

**Explanation:** imagePullSecrets can only reference Secrets in the Pod's own namespace, so the credential must exist in shop and be referenced by the Pod or the ServiceAccount it uses. There is no cross-namespace syntax, mounting the file into the container does not affect the kubelet's pull, and imagePullPolicy controls when pulls happen, not which credentials are used.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on Workloads and Application Lifecycle and Services, Ingress and Gateway API, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the KA practice exams

**Are these real KA exam questions?**

No. We write every question ourselves and map it to the published KA 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.

Last updated November 2026.

DevOpsCode Lab is not affiliated with CNCF. KA and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
