nerdexam
Amazon

SCS-C02 · Question #310

You are deivising a policy to allow users to have the ability to access objects in a bucket called appbucket. You define the below custom bucket policy But when you try to apply the policy you get…

The correct answer is C. Change the Resource section to "arn:aws:s3:::appbucket/*'. When you define access to objects in a bucket you need to ensure that you specify to which objects in the bucket access needs to be given to. In this case, the * can be used to assign the permission to all objects in the bucket Option A is invalid because the right permissions…

Submitted by fatema_kw· Mar 6, 2026Identity and Access Management

Question

You are deivising a policy to allow users to have the ability to access objects in a bucket called appbucket. You define the below custom bucket policy But when you try to apply the policy you get the error "Action does not apply to any resource(s) in statement." What should be done to rectify the error?

Exhibit

SCS-C02 question #310 exhibit

Options

  • AChange the IAM permissions by applying PutBucketPolicy permissions.
  • BVerify that the policy has the same name as the bucket name. If not. make it the same.
  • CChange the Resource section to "arn:aws:s3:::appbucket/*'.
  • DCreate the bucket "appbucket" and then apply the policy.

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    79% (19)
  • D
    13% (3)

Explanation

When you define access to objects in a bucket you need to ensure that you specify to which objects in the bucket access needs to be given to. In this case, the * can be used to assign the permission to all objects in the bucket Option A is invalid because the right permissions are already provided as per the question Option B is invalid because it is not necessary that the policy has the same name as the bucket Option D is invalid because this should be the default flow for applying the policy https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html

Topics

#S3 bucket policy#resource ARN#IAM policy#S3 object permissions

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice