Courseiva
KCSA
Platform SecuritymediumMultiple ChoiceObjective-mapped

KCSA Platform Security Practice Question

A security engineer is hardening a Kubernetes cluster and wants to ensure that all container images are pulled only from an approved internal container registry (e.g., registry.internal.corp). Which Kubernetes mechanism can enforce this restriction across all namespaces?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Deploying a validating admission policy or webhook to check image registry URLs

Admission webhook policy engines like Kyverno or OPA Gatekeeper can intercept creation requests and validate that the image URL matches the approved registry domain prefix.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Deploying a validating admission policy or webhook to check image registry URLs

    Why this is correct

    Validating admission webhooks can inspect pod specs and reject pods using images from unauthorized registries.

  • Configuring NodePort service selectors

    Why it's wrong here

    NodePort selectors manage network traffic routing, not image registry source restrictions.

  • Enabling horizontal pod autoscaling

    Why it's wrong here

    HPA scales pod replicas based on CPU or custom metrics, unrelated to image registries.

  • Modifying the kube-proxy IPVS configuration

    Why it's wrong here

    IPVS mode handles packet forwarding rules for services, not image source validation.

About these practice questions

Courseiva writes every KCSA question from scratch — 320 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint

This KCSA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCSA exam.