Exercises
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
Auto audio on: the next questions will be read aloud when you click Continue.
A namespaced Role can grant only read operations such as get, list, and watch. A RoleBinding assigns those permissions within the specified namespace.
runAsNonRoot: true prevents the container from starting when its process would run as UID 0, reducing the impact of a container compromise.
A default-deny ingress policy selects the namespace's Pods but includes no ingress allowances. Ingress is blocked, while egress remains unaffected unless separately restricted.
Projected tokens support limited lifetimes and audience restrictions. These properties reduce the window and contexts in which a stolen token can be misused.
Base64 is an encoding, not encryption. Kubernetes encryption-at-rest configuration can encrypt Secret data before it reaches etcd, while a KMS provider can protect the encryption keys externally.
An admission policy can verify image signatures or attestations before a workload is accepted, preventing untrusted artifacts from being deployed to the cluster.
A privileged container receives broad Linux capabilities and relaxed device and isolation restrictions. If compromised, it may provide a path to control the underlying node.
Seccomp reduces the kernel attack surface by filtering system calls. RuntimeDefault applies the container runtime's standard syscall restriction profile.
The policy must select the protected destination—the API Pods—and allow ingress only from the intended frontend source. Other ingress is denied once those Pods are isolated.
API audit logs can record the requesting identity, action, resource, timestamp, and result. They are the primary source for tracing administrative API activity.
Encryption at rest reduces exposure when an attacker obtains etcd files, snapshots, or backups. It does not prevent a legitimately authorized workload from receiving a Secret.
The kubelet API can expose sensitive node and workload operations. Disabling anonymous access and enforcing strong authentication and authorization reduces unauthorized use.
Video Courses
recommended
recommended
recommended
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks