DOP-C02 • Practice Test 50
Free DOP-C02 practice test — 15 questions with explanations. Set 50. No signup required.
A team creates the CloudFormation template shown in the exhibit. What is a potential security concern with this configuration?
Refer to the exhibit.
AWSTemplateFormatVersion: '2010-09-09'
Resources:
MyBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: my-unique-bucket-123
VersioningConfiguration:
Status: Enabled
MyBucketPolicy:
Type: AWS::S3::BucketPolicy
Properties:
Bucket: !Ref MyBucket
PolicyDocument:
Statement:
- Effect: Allow
Action: s3:GetObject
Resource: !Sub "${MyBucket.Arn}/*"
Principal: "*"