Question 994 of 1,040
Design Secure ArchitecturesmediumMultiple SelectObjective-mapped

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. A key principle to apply: iAM roles provide temporary credentials via the EC2 instance metadata service.. 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 startup runs an API on Amazon EC2. The instance must read items from one DynamoDB table and upload logs to one S3 bucket. Platform engineers also need a way to create new application roles, but those roles must never exceed a predefined set of permissions. Which three actions should the architect take? Select three.

Clue words in this question

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

  • Clue: "never"

    Why it matters: Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.

Question 1mediummulti select
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

Attach an IAM role to the EC2 instance profile and remove long-lived access keys from the server.

Option A is correct because attaching an IAM role to the EC2 instance profile allows the instance to obtain temporary credentials via the instance metadata service (IMDS), eliminating the need to store long-lived access keys on the server. This follows the AWS security best practice of using roles for EC2 to securely access DynamoDB and S3 without managing static credentials.

Key principle: IAM roles provide temporary credentials via the EC2 instance metadata service.

Answer analysis

Option-by-option breakdown

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

  • Attach an IAM role to the EC2 instance profile and remove long-lived access keys from the server.

    Why this is correct

    This gives the workload temporary credentials through the instance metadata service and avoids storing secrets on the host. It is the standard least-privilege pattern for EC2-based applications.

    Clue confirmation

    The clue word "never" in the question point toward this answer.

    Related concept

    IAM roles provide temporary credentials via the EC2 instance metadata service.

  • Give the EC2 instance an IAM user with administrator access for simplicity.

    Why it's wrong here

    An IAM user with broad permissions creates long-lived credentials and unnecessary blast radius. It is the opposite of least privilege and is hard to audit safely.

  • Scope the application policy to the exact DynamoDB table ARN and S3 bucket prefix.

    Why this is correct

    Restricting the policy to the specific table and bucket prefix limits what the application can reach. That keeps the workload functional while preventing access to unrelated data.

    Clue confirmation

    The clue word "never" in the question point toward this answer.

    Related concept

    IAM roles provide temporary credentials via the EC2 instance metadata service.

  • Store the access keys in the application configuration file and rotate them later.

    Why it's wrong here

    Static keys in configuration files are easy to leak and are difficult to rotate cleanly. AWS roles are safer because temporary credentials are issued automatically.

  • Use a permissions boundary for any IAM roles the platform team is allowed to create.

    Why this is correct

    A permissions boundary caps the maximum permissions a created role can ever receive. It is ideal for delegated administration when teams can create roles but must stay within guardrails.

    Clue confirmation

    The clue word "never" in the question point toward this answer.

    Related concept

    IAM roles provide temporary credentials via the EC2 instance metadata service.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may think storing access keys in a config file with rotation is acceptable, but AWS explicitly recommends using IAM roles for EC2 to avoid the security risks of long-lived static credentials.

Detailed technical explanation

How to think about this question

When an IAM role is attached to an EC2 instance profile, the AWS credentials provider chain automatically retrieves temporary security credentials from the instance metadata service (IMDSv2) using a token-based request. These credentials are valid for a configurable duration (default 6 hours) and are automatically rotated by AWS, eliminating the need for manual key management. The permissions boundary in option E works by setting the maximum permissions an IAM role can have, even if a more permissive policy is attached, which is critical for delegated administration scenarios.

KKey Concepts to Remember

  • IAM roles provide temporary credentials via the EC2 instance metadata service.
  • Eliminates the need to store long-lived access keys on EC2 instances.
  • Credentials are automatically rotated by AWS, enhancing security.
  • Enables least privilege by granting specific permissions to the EC2 instance.

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

IAM roles provide temporary credentials via the EC2 instance metadata service.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Review iAM roles provide temporary credentials via the EC2 instance metadata service., then practise related SAA-C03 questions on the same topic to reinforce the concept.

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 — IAM roles provide temporary credentials via the EC2 instance metadata service..

What is the correct answer to this question?

The correct answer is: Attach an IAM role to the EC2 instance profile and remove long-lived access keys from the server. — Option A is correct because attaching an IAM role to the EC2 instance profile allows the instance to obtain temporary credentials via the instance metadata service (IMDS), eliminating the need to store long-lived access keys on the server. This follows the AWS security best practice of using roles for EC2 to securely access DynamoDB and S3 without managing static credentials.

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

Review iAM roles provide temporary credentials via the EC2 instance metadata service., then practise related SAA-C03 questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "never". Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.

What is the key concept behind this question?

IAM roles provide temporary credentials via the EC2 instance metadata service.

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

Keep practising

More SAA-C03 practice questions

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.