SOA-C02 Deployment, Provisioning, and Automation Practice Question
A company uses AWS Elastic Beanstalk to deploy a web application. During a deployment, the environment's health turns from Green to Red, and the deployment fails. The logs show 'ERROR: Failed to download the application version from Amazon S3.' What is the MOST likely cause?
⚠ Common exam trap
SOA-C02 often tests the difference between the instance profile and the service role, and candidates may incorrectly blame the service role for S3 access issues.
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 EC2 instance profile does not have an IAM policy granting s3:GetObject on the application version
The error 'Failed to download the application version from Amazon S3' indicates that the EC2 instances in the Elastic Beanstalk environment cannot access the S3 bucket where the application version is stored. The most likely cause is that the EC2 instance profile (IAM role) lacks the necessary s3:GetObject permission on the application version object. Elastic Beanstalk uses the instance profile to download the application from S3 during deployment.
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 EC2 instance profile does not have an IAM policy granting s3:GetObject on the application version
Why this is correct
In Elastic Beanstalk, the EC2 instances that form your environment rely on the instance profile (an IAM role) to retrieve the application source bundle from Amazon S3 during deployment. If that instance profile is missing a policy permitting s3:GetObject on the bucket or object containing the application version, the instances receive an Access Denied error and the deployment fails. This is the classic root cause because many assume the service role handles this, but the service role is only used by the Elastic Beanstalk service itself.
- ✗
The Elastic Beanstalk service role does not have permissions to access S3
Why it's wrong here
The Elastic Beanstalk service role is an IAM role assumed by the Elastic Beanstalk service, not by your EC2 instances. It is responsible for managing the environment's underlying AWS resources, such as Auto Scaling groups, CloudWatch alarms, and Elastic Load Balancer. Even if this role lacks S3 permissions, it would not block the instances from downloading the application version, because the instances authenticate with their own instance profile. Therefore, this misconfiguration does not explain the S3 access failure during deployment.
- ✗
The S3 bucket is in a different AWS Region
Why it's wrong here
An S3 bucket located in a different AWS Region than the Elastic Beanstalk environment is accessible as long as the instances have appropriate IAM permissions and network routes. S3 supports cross-region access via its global endpoint or by specifying the regional endpoint, so a regional mismatch alone is not a cause of failure. The deployment would still succeed because the object is fetched over HTTPS, though there might be slight latency. The likely culprit is still IAM, not the bucket's region.
- ✗
The S3 bucket containing the application version has public read access disabled
Why it's wrong here
The EC2 instances never require the application version S3 bucket to be publicly readable; they authenticate by signing requests with temporary credentials obtained through the instance profile. Disabling public read access via bucket policies or Block Public Access settings is a security best practice and does not interfere with IAM-based access. A failed deployment despite this setting indicates the instance role lacks the necessary s3:GetObject permission, not that the object needs to be exposed publicly.
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 |
Go deeper
Related to this question
About these practice questions
Courseiva writes every SOA-C02 question from scratch — 1,169 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This SOA-C02 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 SOA-C02 exam.