exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 98 discussion

A security engineer is troubleshooting an AWS Lambda function that is named MyLambdaFunction. The function is encountering an error when the function attempts to read the objects in an Amazon S3 bucket that is named DOC-EXAMPLE-BUCKET. The S3 bucket has the following bucket policy:



Which change should the security engineer make to the policy to ensure that the Lambda function can read the bucket objects?

  • A. Remove the Condition element. Change the Principal element to the following:

  • B. Change the Action element to the following:

  • C. Change the Resource element to "arn:aws:s3:::DOC-EXAMPLE- BUCKET/*''.
  • D. Change the Resource element to "arn:aws:lambda:::function:MyLambdaFunction". Change the Principal element to the following:
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Aamee
Highly Voted 1 year ago
Selected Answer: C
Yup, option C is absolutely correct since there's nothing wrong on any other areas except the missing ' * ' under the Resource element.
upvoted 7 times
...
Gafa255
Most Recent 10 months, 2 weeks ago
Selected Answer: C
missing the *
upvoted 1 times
...
[Removed]
1 year ago
Selected Answer: C
C. Missing the *
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago