Bird
0
0

Consider this CloudFormation JSON template snippet:

medium📝 Predict Output Q4 of 15
AWS - CloudFormation
Consider this CloudFormation JSON template snippet:
{"Resources": {"MyQueue": {"Type": "AWS::SQS::Queue"}}}

What AWS resource will this template create when deployed?
AAn Amazon Simple Queue Service (SQS) queue
BAn Amazon Simple Notification Service (SNS) topic
CAn Amazon Simple Storage Service (S3) bucket
DAn Amazon Elastic Compute Cloud (EC2) instance
Step-by-Step Solution
Solution:
  1. Step 1: Identify the resource type

    The snippet specifies "Type": "AWS::SQS::Queue" which corresponds to an SQS queue.
  2. Step 2: Understand resource creation

    CloudFormation creates the resource defined under "Resources" with the given type.
  3. Final Answer:

    An Amazon Simple Queue Service (SQS) queue -> Option A
  4. Quick Check:

    Resource type AWS::SQS::Queue means SQS queue [OK]
Quick Trick: AWS::SQS::Queue always creates an SQS queue [OK]
Common Mistakes:
  • Confusing SQS queue with SNS topic
  • Assuming AWS::SQS::Queue creates an S3 bucket
  • Mixing resource types with EC2 instances

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes