SAP-C02 • Mock Exam 79
Free SAP-C02 mock exam — 25 questions with explanations. Set 79. No signup required.
A company is deploying a web application using the above CloudFormation template. The template fails to create the Auto Scaling group. What is the most likely cause?
Refer to the exhibit.
# CloudFormation template snippet
Resources:
MyAutoScalingGroup:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
AvailabilityZones:
- us-east-1a
- us-east-1b
LaunchConfigurationName: !Ref MyLaunchConfig
MinSize: '2'
MaxSize: '10'
DesiredCapacity: '2'
TargetGroupARNs:
- !Ref MyTargetGroup
MyLaunchConfig:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
ImageId: ami-12345678
InstanceType: t2.micro
SecurityGroups:
- !Ref MySecurityGroup