- A
The S3 bucket has a bucket policy that denies access to the IAM role
A bucket policy with an explicit deny overrides IAM permissions.
- B
The IAM role's trust policy does not allow the EC2 service
Why wrong: If the role cannot be assumed, the instance would not have credentials; the error would be different.
- C
The S3 bucket is encrypted with AWS KMS and the role lacks kms:Decrypt permissions
Why wrong: KMS errors typically show 'Access Denied' but with a different context; bucket policy is more likely.
- D
The VPC does not have an S3 VPC endpoint configured
Why wrong: Missing VPC endpoint would cause a timeout or connectivity error, not Access Denied.
Quick Answer
The answer is an S3 bucket policy that explicitly denies access to the IAM role. Even when an IAM role attached to the EC2 instance has the correct permissions, an explicit deny in a bucket policy overrides any allow, which is why the SAP HANA backup to S3 fails with access denied despite the administrator confirming the role’s permissions. On the AWS Certified SAP on AWS Specialty PAS-C01 exam, this scenario tests your understanding of the AWS authorization model, specifically that an explicit deny in a resource-based policy trumps an allow in an identity-based policy—a common trap where candidates assume the IAM role alone is sufficient. Remember, for S3 access, both the IAM role and the bucket policy must allow the action; if either denies it, the backup fails. A useful memory tip is “Deny always wins,” meaning any explicit deny, whether in a bucket policy or a service control policy, will block the operation regardless of other permissions.
PAS-C01 Operations and Maintenance Practice Question
This PAS-C01 practice question tests your understanding of operations and maintenance. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
An SAP HANA database on AWS is configured with automatic backups to Amazon S3. The backup process is failing with the error 'Access Denied'. The administrator has confirmed the S3 bucket exists and the IAM role attached to the EC2 instance has the correct permissions. What could be the issue?
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
The S3 bucket has a bucket policy that denies access to the IAM role
If the bucket policy denies access even if the IAM role allows, the explicit deny in the bucket policy overrides. The error indicates a permissions issue. The role might lack proper trust policy only if it can't assume, but the error suggests access denied to S3. The bucket policy is likely the cause. KMS key issues would give a different error. VPC endpoint issues would cause connectivity errors.
Key principle: ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The S3 bucket has a bucket policy that denies access to the IAM role
Why this is correct
A bucket policy with an explicit deny overrides IAM permissions.
Related concept
Standard ACLs match source addresses.
- ✗
The IAM role's trust policy does not allow the EC2 service
Why it's wrong here
If the role cannot be assumed, the instance would not have credentials; the error would be different.
- ✗
The S3 bucket is encrypted with AWS KMS and the role lacks kms:Decrypt permissions
Why it's wrong here
KMS errors typically show 'Access Denied' but with a different context; bucket policy is more likely.
- ✗
The VPC does not have an S3 VPC endpoint configured
Why it's wrong here
Missing VPC endpoint would cause a timeout or connectivity error, not Access Denied.
Common exam traps
Common exam trap: ACLs stop at the first match
ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.
Trap categories for this question
Command / output trap
KMS errors typically show 'Access Denied' but with a different context; bucket policy is more likely.
Detailed technical explanation
How to think about this question
ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.
KKey Concepts to Remember
- Standard ACLs match source addresses.
- Extended ACLs can match source, destination, protocol and ports.
- The first matching ACL entry is used.
- There is usually an implicit deny at the end.
TExam Day Tips
- Check inbound versus outbound direction.
- Read the ACL from top to bottom.
- Look for a broader permit or deny above the intended line.
Key takeaway
ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
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 ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related PAS-C01 ACL questions on filtering logic and placement.
- →
Operations and Maintenance — study guide chapter
Learn the concepts, then practise the questions
- →
Operations and Maintenance practice questions
Targeted practice on this topic area only
- →
All PAS-C01 questions
1,733 questions across all exam domains
- →
AWS Certified SAP on AWS Specialty PAS-C01 study guide
Full concept coverage aligned to exam objectives
- →
PAS-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PAS-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design of SAP Workloads on AWS practice questions
Practise PAS-C01 questions linked to Design of SAP Workloads on AWS.
Technology practice questions
Practise PAS-C01 questions linked to Technology.
Migration practice questions
Practise PAS-C01 questions linked to Migration.
Operations and Maintenance practice questions
Practise PAS-C01 questions linked to Operations and Maintenance.
PAS-C01 fundamentals practice questions
Practise PAS-C01 questions linked to PAS-C01 fundamentals.
PAS-C01 scenario practice questions
Practise PAS-C01 questions linked to PAS-C01 scenario.
PAS-C01 troubleshooting practice questions
Practise PAS-C01 questions linked to PAS-C01 troubleshooting.
Practice this exam
Start a free PAS-C01 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 PAS-C01 question test?
Operations and Maintenance — This question tests Operations and Maintenance — Standard ACLs match source addresses..
What is the correct answer to this question?
The correct answer is: The S3 bucket has a bucket policy that denies access to the IAM role — If the bucket policy denies access even if the IAM role allows, the explicit deny in the bucket policy overrides. The error indicates a permissions issue. The role might lack proper trust policy only if it can't assume, but the error suggests access denied to S3. The bucket policy is likely the cause. KMS key issues would give a different error. VPC endpoint issues would cause connectivity errors.
What should I do if I get this PAS-C01 question wrong?
Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related PAS-C01 ACL questions on filtering logic and placement.
What is the key concept behind this question?
Standard ACLs match source addresses.
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 →
Last reviewed: Jun 20, 2026
This PAS-C01 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 PAS-C01 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.