SAP-C02 Design for New Solutions Practice Question
Exhibit
Refer to the exhibit. Status: ROLLBACK_COMPLETE Resource Status: - Logical ID: MyEC2Instance Physical ID: i-1234567890abcdef0 Status: CREATE_COMPLETE - Logical ID: MySecurityGroup Physical ID: sg-12345678 Status: CREATE_COMPLETE - Logical ID: MyEIP Physical ID: eipalloc-12345678 Status: CREATE_FAILED Reason: The maximum number of addresses has been reached.
A CloudFormation stack creation failed with the status shown in the exhibit. The stack was created using a template that defines an EC2 instance, a security group, and an Elastic IP address. What is the MOST likely cause of the failure?
⚠ Common exam trap
It's easy for candidates to assume the failure is due to an invalid security group rule or instance type, but the exhibit's error message (e.g., 'Resource creation cancelled' or 'API: ec2:AllocateAddress') specifically points to a quota limit on Elastic IPs, not a configuration or association 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 AWS account has reached the Elastic IP address limit.
The stack creation failed with a status that indicates a resource creation failure, and the most likely cause is that the AWS account has reached its Elastic IP address limit. Each AWS account has a default limit of 5 Elastic IP addresses per region, and attempting to create a new Elastic IP beyond this quota causes the CloudFormation stack to roll back. The error message in the exhibit (not shown here but implied) typically states 'The maximum number of addresses has been reached' or similar, confirming this as the root cause.
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 AWS account has reached the Elastic IP address limit.
Why this is correct
The error message explicitly states the maximum number of addresses has been reached.
- ✗
The security group rule is invalid.
Why it's wrong here
The security group was created successfully.
- ✗
The EC2 instance failed to associate with the Elastic IP.
Why it's wrong here
The EIP itself failed to be created.
- ✗
The EC2 instance type is not supported in the region.
Why it's wrong here
The instance was created successfully.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 1,660 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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-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 SAP-C02 exam.