Question 374 of 1,040
Design Secure ArchitectureseasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to allow `secretsmanager:GetSecretValue` only on the specific secret ARN required by the service. This is the best least-privilege approach because it scopes the permission to a single action on a single resource, ensuring the microservice cannot read any other secrets even if its credentials are compromised. On the SAA-C03 exam, this concept tests your understanding of resource-based policy scoping versus broad wildcard permissions; a common trap is choosing a policy that allows `secretsmanager:*` or uses a wildcard in the resource ARN, which violates the principle of least privilege. Remember that for Secrets Manager, the key is to pair the exact action with the exact ARN—never use `"Resource": "*"` for sensitive read operations. A useful memory tip is "One action, one ARN" to lock down secret access.

SAA-C03 Design Secure Architectures Practice Question

This SAA-C03 practice question tests your understanding of design secure architectures. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A microservice needs to read exactly one secret value from AWS Secrets Manager. Which IAM permission statement provides the best least-privilege approach to allow the microservice to retrieve that secret value?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

  • Clue: "least"

    Why it matters: You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.

Question 1easymultiple choice
Full question →

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

Allow secretsmanager:GetSecretValue only on the specific secret ARN required by the service

Option B is correct because it grants the minimum necessary permission—secretsmanager:GetSecretValue—scoped to the exact Amazon Resource Name (ARN) of the secret the microservice needs. This follows the AWS least-privilege principle by restricting access to a single action on a single resource, preventing the microservice from reading other secrets even if compromised.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Allow secretsmanager:GetSecretValue on all secrets using Resource: "*"

    Why it's wrong here

    Using Resource "*" allows the microservice to read the value of any secret in the account (subject to other conditions), which violates least privilege and increases blast radius if the microservice is compromised.

  • Allow secretsmanager:GetSecretValue only on the specific secret ARN required by the service

    Why this is correct

    Restricting the Resource to the exact Secrets Manager secret ARN limits retrieval to only that secret. This minimizes exposure and follows least-privilege practices. (If the secret is encrypted with a customer-managed KMS key, additional KMS permissions may be required for decrypting the ciphertext, but the Secrets Manager permission itself should still be scoped tightly.)

    Clue confirmation

    The clue words "best", "least" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Allow secretsmanager:* on the secret name prefix using a wildcard pattern

    Why it's wrong here

    Granting secretsmanager:* is broader than needed and includes sensitive write/delete actions. A wildcard prefix can also match more secrets than required, expanding the blast radius beyond the single secret the microservice needs.

  • Allow secretsmanager:GetSecretValue on the AWS account root ARN

    Why it's wrong here

    The AWS account root ARN is not the correct resource type for Secrets Manager secrets. Because IAM resource matching requires the action to be permitted on the correct Secrets Manager secret resource ARN, this statement would not provide the intended access to the secret value.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often choose a broad wildcard or 'all resources' permission (Option A or C) thinking it simplifies management, but the SAA-C03 exam consistently tests the principle of least privilege by requiring the most restrictive resource and action scope.

Detailed technical explanation

How to think about this question

Secrets Manager uses resource-based policies and IAM policies to control access; the GetSecretValue API call requires the secret's ARN in the request. Under the hood, IAM evaluates the effective permissions by combining all applicable policies, so scoping the resource ARN in the IAM policy ensures that even if the microservice has other permissions, it can only read the designated secret. In a real-world scenario, if a microservice is compromised, a narrow resource ARN prevents lateral movement to other secrets, such as database credentials for different environments.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SAA-C03 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Design Secure Architectures — This question tests Design Secure Architectures — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Allow secretsmanager:GetSecretValue only on the specific secret ARN required by the service — Option B is correct because it grants the minimum necessary permission—secretsmanager:GetSecretValue—scoped to the exact Amazon Resource Name (ARN) of the secret the microservice needs. This follows the AWS least-privilege principle by restricting access to a single action on a single resource, preventing the microservice from reading other secrets even if compromised.

What should I do if I get this SAA-C03 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "best", "least". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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

Same concept, more angles

1 more ways this is tested on SAA-C03

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A microservice runs on an EC2 instance using an instance role. It must retrieve exactly one secret value from AWS Secrets Manager. The secret ARN is arn:aws:secretsmanager:us-east-1:111122223333:secret:prod/dbPassword-AbCdEf. The secret is encrypted with the default AWS-managed Secrets Manager KMS key (alias/aws/secretsmanager). Which IAM policy statement provides the best least-privilege access?

easy
  • A.Allow secretsmanager:GetSecretValue on all secrets: Resource "*".
  • B.Allow secretsmanager:GetSecretValue only for the specific secret ARN: Resource "arn:aws:secretsmanager:us-east-1:111122223333:secret:prod/dbPassword-AbCdEf".
  • C.Allow secretsmanager:DescribeSecret on the secret ARN, but not secretsmanager:GetSecretValue.
  • D.Allow secretsmanager:GetSecretValue on all secrets with the prefix: Resource "arn:aws:secretsmanager:us-east-1:111122223333:secret:prod/*".

Why B: Option B is correct because it grants the least-privilege access by restricting the secretsmanager:GetSecretValue action to the exact secret ARN required. Since the secret is encrypted with the default AWS-managed KMS key (alias/aws/secretsmanager), no additional kms:Decrypt permission is needed because Secrets Manager automatically handles decryption with the default key when using GetSecretValue. This policy ensures the microservice can retrieve only the intended secret and no others.

Last reviewed: Jun 11, 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 SAA-C03 practice question is part of Courseiva's free Amazon Web Services 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 SAA-C03 exam.