Courseiva
Question 153 of 964
Cloud Application SecuritymediumMultiple SelectObjective-mapped

CCSP Cloud Application Security Practice Question

A cloud application uses AWS Lambda functions in a serverless architecture. The security team wants to enforce least privilege access for these functions. Which THREE practices should be implemented?

⚠ Common exam trap

ISC2 often tests the misconception that encrypting environment variables with KMS is a sufficient substitute for using a dedicated secrets management service, but the trap is that environment variables are still visible in plaintext to anyone with console access or CloudTrail logs of the function configuration.

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 AWS Parameter Store or Secrets Manager for sensitive data

AWS Parameter Store or Secrets Manager are correct because they provide secure, auditable storage for sensitive data like database credentials and API keys. Lambda functions can retrieve these values at runtime via the AWS SDK, avoiding hard-coded secrets in code or environment variables. This aligns with the principle of least privilege by granting the Lambda IAM role only the specific permissions needed to access the secret, not the secret value itself in plaintext.

Answer analysis

Option-by-option breakdown

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

  • Use AWS Parameter Store or Secrets Manager for sensitive data

    Why this is correct

    External secrets management reduces exposure.

  • Store secrets in Lambda environment variables encrypted with KMS

    Why it's wrong here

    Environment variables can be logged or leaked; Secrets Manager is recommended.

  • Assign a dedicated IAM role to each Lambda function

    Why this is correct

    Separate roles allow precise permission scoping.

  • Grant permissions based on the principle of minimal necessary access

    Why this is correct

    This is the core of least privilege.

  • Use a single IAM role for all Lambda functions for simplicity

    Why it's wrong here

    Single role violates least privilege and increases blast radius.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.