- A
Attach an IAM role to the EC2 instance profile and remove long-lived access keys from the server.
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.
- B
Give the EC2 instance an IAM user with administrator access for simplicity.
Why wrong: 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.
- C
Scope the application policy to the exact DynamoDB table ARN and S3 bucket prefix.
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.
- D
Store the access keys in the application configuration file and rotate them later.
Why wrong: 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.
- E
Use a permissions boundary for any IAM roles the platform team is allowed to create.
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.
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 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.
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 IAM roles for EC2 to securely access DynamoDB and S3 without managing static credentials.
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.
- ✓
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
Read the scenario before looking for a memorised answer.
- ✗
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.
When this WOULD be correct
In a scenario where a single developer needs full access to manage all AWS resources for a short-term project and no other users or automated processes are involved, an IAM user with administrator access could be acceptable for simplicity.
- ✓
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
Read the scenario before looking for a memorised answer.
- ✗
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.
When this WOULD be correct
In a scenario where the EC2 instance is in a non-AWS environment or cannot use IAM roles (e.g., on-premises servers), and the application requires programmatic access to AWS services, storing access keys in a secure configuration file with automatic rotation (e.g., using AWS Secrets Manager) could be acceptable.
- ✓
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
Read the scenario before looking for a memorised answer.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The SAA-C03 exam frequently reuses these exact scenarios with slightly different constraints.
✓Attach an IAM role to the EC2 instance profile and remove long-lived access keys from the server.Correct answer▾
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.
✗Give the EC2 instance an IAM user with administrator access for simplicity.Wrong answer — click to see why▾
Why this is wrong here
Granting an IAM user with administrator access violates the principle of least privilege and introduces security risks; the instance should use an IAM role with minimal permissions instead.
★ When this WOULD be the correct answer
In a scenario where a single developer needs full access to manage all AWS resources for a short-term project and no other users or automated processes are involved, an IAM user with administrator access could be acceptable for simplicity.
Why candidates choose this
Candidates may think administrator access is the easiest way to ensure the application can access all required services without troubleshooting permission issues.
✗Store the access keys in the application configuration file and rotate them later.Wrong answer — click to see why▾
Why this is wrong here
Storing access keys in the application configuration file violates security best practices and AWS Well-Architected Framework recommendations. Long-lived access keys can be exposed, and rotating them later does not mitigate the risk of exposure in the meantime.
★ When this WOULD be the correct answer
In a scenario where the EC2 instance is in a non-AWS environment or cannot use IAM roles (e.g., on-premises servers), and the application requires programmatic access to AWS services, storing access keys in a secure configuration file with automatic rotation (e.g., using AWS Secrets Manager) could be acceptable.
Why candidates choose this
Candidates may think that storing keys in a config file is a simple and common practice, and that rotation later will fix any security issues, underestimating the risk of static credentials and the availability of more secure alternatives like IAM roles.
Analysis generated from the official SAA-C03blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
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 is acceptable if rotated later, but AWS explicitly recommends using IAM roles for EC2 to avoid the security risks of long-lived 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) at http://169.254.169.254/latest/meta-data/iam/security-credentials/. These credentials are valid for a configurable duration (default 1 hour) and are automatically refreshed by the AWS SDK, ensuring continuous access without manual key rotation. The permissions boundary in option E works by setting the maximum permissions an IAM role can have, so even if the platform team creates a new role, it cannot exceed the boundary's defined actions and resources.
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 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.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
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.
- →
Design Secure Architectures — study guide chapter
Learn the concepts, then practise the questions
- →
Design Secure Architectures practice questions
Targeted practice on this topic area only
- →
All SAA-C03 questions
1,040 questions across all exam domains
- →
SAA-C03 study guide
Full concept coverage aligned to exam objectives
- →
SAA-C03 practice test guide
How to use practice tests most effectively before exam day
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.
Design Secure Architectures practice questions
Practise SAA-C03 questions linked to Design Secure Architectures.
Design Resilient Architectures practice questions
Practise SAA-C03 questions linked to Design Resilient Architectures.
Design High-Performing Architectures practice questions
Practise SAA-C03 questions linked to Design High-Performing Architectures.
Design Cost-Optimized Architectures practice questions
Practise SAA-C03 questions linked to Design Cost-Optimized Architectures.
SAA-C03 VPC practice questions
Practise SAA-C03 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAA-C03 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAA-C03 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAA-C03 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAA-C03 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAA-C03 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAA-C03 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAA-C03 questions linked to SAA-C03 VPC endpoint questions.
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: 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 IAM 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?
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: "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?
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 →
Keep practising
More SAA-C03 practice questions
- A content publishing system uses Lambda functions that call an unreliable third-party API. Failed events must be retaine…
- A startup runs two EC2-based workloads in the same AWS Region. Its customer-facing API is always on, and its nightly vid…
- A warehouse integration service must use shared file storage across Linux EC2 instances in multiple Availability Zones.…
- A team runs a stateless web app on Amazon EC2 behind an Application Load Balancer. During traffic spikes, new EC2 instan…
- A service in private subnets downloads product images from Amazon S3 and stores job state in DynamoDB. A NAT Gateway is…
- A static site is hosted in Amazon S3 and delivered by CloudFront. After a frontend release, the same JavaScript bundles…
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.