Bird
0
0

Given this AWS Shield setup code snippet, what resource is being protected?

medium📝 Predict Output Q13 of 15
AWS - Advanced Security
Given this AWS Shield setup code snippet, what resource is being protected?
aws_shield_protection = {
  "Name": "MyCloudFrontDistribution",
  "ResourceArn": "arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5"
}
AAn EC2 instance
BAn RDS database
CAn S3 bucket
DA CloudFront distribution
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the ResourceArn

    The ARN contains "cloudfront" and "distribution", indicating the resource is a CloudFront distribution.
  2. Step 2: Match resource type to options

    Only A CloudFront distribution matches a CloudFront distribution; others are different AWS services.
  3. Final Answer:

    A CloudFront distribution -> Option D
  4. Quick Check:

    ResourceArn with cloudfront = CloudFront distribution [OK]
Quick Trick: Look for 'cloudfront' in ARN to identify resource type [OK]
Common Mistakes:
  • Assuming EC2 or S3 from ARN without checking
  • Ignoring ARN format details
  • Confusing resource types

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes