Courseiva
Continuous Improvement for Existing SolutionseasyMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

Network Topology
$ aws cloudformation describe-stack-eventsstack-name my-stackRefer to the exhibit."StackEvents": ["StackId": "arn:aws:cloudformation:us-east-1:123456789012:stack/my-stack/abc123","EventId": "Event-1","ResourceStatus": "CREATE_FAILED","ResourceType": "AWS::AutoScaling::AutoScalingGroup",

A solutions architect runs the AWS CLI command shown in the exhibit to troubleshoot a failed CloudFormation stack creation. What is the most likely cause of the failure?

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 LaunchConfigurationName property in the Auto Scaling group resource was not provided or was an incorrect type.

The error message indicates that the 'LaunchConfigurationName' property must be a string, meaning it was likely not provided or was of the wrong type. Option A is wrong because the error message does not mention any VPC configuration issues. Option C is wrong because the error specifically references the 'LaunchConfigurationName' property, not the resource type being unsupported in the region. Option D is wrong because the error indicates a property validation issue, not a permissions problem.

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 VPC configuration is incorrect, causing the Auto Scaling group to fail.

    Why it's wrong here

    The error does not mention VPC.

  • The LaunchConfigurationName property in the Auto Scaling group resource was not provided or was an incorrect type.

    Why this is correct

    The error states that LaunchConfigurationName must be of type String, implying it was missing or wrong.

  • The Auto Scaling group resource type is not supported in the region.

    Why it's wrong here

    AWS::AutoScaling::AutoScalingGroup is supported in all regions.

  • The IAM role for the stack does not have permission to create Auto Scaling groups.

    Why it's wrong here

    The error is about property type, not permissions.

About these practice questions

One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.