A developer creates an EC2 instance but notices it is failing to reach an S3 bucket because requests are blocked. The bucket is in a different AWS account, and the developer expects access via IAM. What is the most likely missing piece?
Answer
An IAM role in the bucket-owning account must allow the cross-account principal
Explanation
Cross-account access requires a resource policy (e.g., S3 bucket policy) or equivalent permission in the bucket-owning account that grants access to the external principal. VPC endpoints affect network path, but permission is still required.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A team is choosing storage for data that is infrequently accessed, with unpredictable retrieval patterns, and expects occasional reads. They want low cost without the complexity of managing servers. Which AWS storage class is the best fit?
View question →
You must ensure that an application can use private connectivity to AWS services from on-premises while restricting traffic to approved paths. Which approach most directly provides private, encrypted connectivity with control over routing?
View question →
A company wants to build an application that scales automatically and can be stopped and resumed without managing servers. They also want the database tier to scale and require minimal administration. Which combination best aligns with those requirements?
View question →
A company uses AWS Organizations with multiple accounts and wants to centrally apply preventive controls so that new resources are blocked if they violate compliance standards. Which feature provides this guardrail most directly?
View question →
A company must build a cost model that separates recurring operational spend from one-time implementation costs when comparing AWS to an on-premises approach. Which pricing component best represents the ongoing usage-based operational cost?
View question →
A team wants to enforce encryption at rest for new objects in S3 but also needs to keep the encryption settings consistent for future buckets in the same account. Where should they set this policy?
View question →