Bird
0
0

Given this CloudFormation snippet:

medium📝 Predict Output Q4 of 15
AWS - CloudFormation
Given this CloudFormation snippet:
{
  "Resources": {
    "MyBucket": {
      "Type": "AWS::S3::Bucket"
    }
  }
}

What resource will be created?
ANo resource will be created
BAn S3 bucket named MyBucket
CA Lambda function named MyBucket
DAn EC2 instance named MyBucket
Step-by-Step Solution
Solution:
  1. Step 1: Identify resource type in CloudFormation

    The resource type "AWS::S3::Bucket" creates an S3 bucket.
  2. Step 2: Understand resource logical ID

    "MyBucket" is the logical name for the S3 bucket resource.
  3. Final Answer:

    An S3 bucket named MyBucket will be created -> Option B
  4. Quick Check:

    Resource type AWS::S3::Bucket = S3 bucket [OK]
Quick Trick: AWS::S3::Bucket creates an S3 bucket resource [OK]
Common Mistakes:
  • Confusing resource type with EC2 or Lambda
  • Thinking logical ID is the actual bucket name
  • Assuming no resource created without Properties

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes