Courseiva
mediumMultiple SelectObjective-mapped

CCSP Practice Question: A cloud application is deployed on Kubernetes and…

A cloud application is deployed on Kubernetes and uses a cloud identity and access management (IAM) role for service accounts. Which TWO practices should be implemented to ensure least privilege?

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

Grant only the specific permissions required for the application

Least privilege for IAM roles means granting only the permissions necessary for the application to function and limiting the scope of those permissions to specific resources using resource identifiers. This prevents excessive access and reduces risk.

Answer analysis

Option-by-option breakdown

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

  • Grant only the specific permissions required for the application

    Why this is correct

    Correct. Granting only required permissions aligns with the principle of least privilege.

  • Hardcode the role's credentials in the application code

    Why it's wrong here

    Incorrect. Hardcoding credentials violates security best practices and increases risk of exposure.

  • Grant the role the full IAM permissions (e.g., 'iam:*' equivalent)

    Why it's wrong here

    Incorrect. Wildcard permissions like 'iam:*' grant excessive access and violate least privilege.

  • Restrict the role to specific resources using resource identifiers

    Why this is correct

    Correct. Restricting the role to specific resource identifiers limits the scope of permissions.

  • Use a single role for all services in the cluster

    Why it's wrong here

    Incorrect. Using a single role for all services promotes overprivileging and violates isolation.

About these practice questions

This CCSP question is part of Courseiva's 964-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.