SOA-C02 Question 148
Single answerA SysOps Administrator is deploying a CloudFormation stack to create an Auto Scaling group, but the stack creation fails with the following error: 'The requested resource is not available in the current region.' What should the administrator do to resolve the issue?
- A
Verify if the desired resource is available in the selected region and update the CloudFormation template if necessary.
- B
Increase the service quotas for the resource in the AWS Management Console.
- C
Ensure that the Auto Scaling group is using the default VPC in the selected region.
- D
Add an IAM policy to the CloudFormation execution role to allow creating the resource.
Show answer and explanation
Correct answer: A
Explanation
The error 'The requested resource is not available in the current region' typically occurs when the CloudFormation template references a resource or service that is not supported or available in the chosen region. The administrator should verify whether the resource is available in the selected region and update the CloudFormation template to use a supported resource or choose a different region where the resource is available.
- A. Correct.
This is the correct answer. The error indicates that the resource being requested by the CloudFormation stack is not available in the selected region. The administrator should check the region's service availability and update the template to use a resource that is supported in that region.
- B. Incorrect.
This is incorrect because service quotas are unrelated to this error. Service quotas limit the number of resources you can provision but do not impact regional availability.
- C. Incorrect.
This is incorrect because using the default VPC is not related to the error. The error clearly indicates a resource availability issue in the selected region.
- D. Incorrect.
This is incorrect because an IAM policy issue would result in a permissions error, not a resource availability error.