Question 1 of 19
Single answerEXAMPLE-BUCKET. The S3 bucket has the following bucket policy: "Effect":"Allow" "Principal":( "Service":"lambda.amazonaws.com" "Action":"s3:Getobject", "Condition":{ "ArnLike":{ "aws:SourceArn":"arn:aws:lambda:::function:MyLambdaFunction" bucket objects?
ARemove the Condlition element. Change the Principal element to the following:
BChange the Action element to the following: L "s3:GetObject*" "s3:GetBucket*"
✓CChange the Resource element to"arn:aws:s3:DOC-EXAMPLE- BUCKET/* element to the following: "Service":"s3.amazonaws.com"
✓
Correct Answer: C
Change the Resource element to"arn:aws:s3:DOC-EXAMPLE- BUCKET/* element to the following: "Service":"s3.amazonaws.com"
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of AWS certification topics.