Courseiva
SecurityhardMultiple ChoiceObjective-mapped

CV0-004 Security Practice Question

A security administrator needs to enforce least privilege for a Kubernetes cluster in a cloud environment. Which approach should be used to restrict permissions for pods that need to access the cloud provider's API?

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

Use a service account with a role that has only the required permissions

Using a service account with a role that has minimal permissions and attaching it to the pod ensures least privilege for pod-to-cloud API access.

Answer analysis

Option-by-option breakdown

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

  • Assign the pod a static cloud IAM user credential

    Why it's wrong here

    Static credentials should be avoided; service accounts are preferred.

  • Disable cloud API access for all pods

    Why it's wrong here

    Some pods may legitimately need API access.

  • Use a service account with a role that has only the required permissions

    Why this is correct

    Service accounts provide secure, scoped access for pods.

  • Grant the pod cluster-admin privileges in Kubernetes

    Why it's wrong here

    Cluster-admin is over-permissive and violates least privilege.

About these practice questions

One of 977 original CV0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.