mediummultiple choiceObjective-mapped

A backend service in AWS uses an IAM role to upload large files to an S3 bucket using multipart upload. The upload typically succeeds, but it intermittently fails during cleanup with this error: "AccessDenied: User is not authorized to perform: s3:AbortMultipartUpload" The role identity policy currently allows only: - s3:PutObject on arn:aws:s3:::my-bucket/uploads/* - s3:ListBucket on arn:aws:s3:::my-bucket with a prefix condition What is the best least-privilege change to fix the cleanup failure?

Question 1mediummultiple choice
Full question →

A backend service in AWS uses an IAM role to upload large files to an S3 bucket using multipart upload. The upload typically succeeds, but it intermittently fails during cleanup with this error: "AccessDenied: User is not authorized to perform: s3:AbortMultipartUpload" The role identity policy currently allows only: - s3:PutObject on arn:aws:s3:::my-bucket/uploads/* - s3:ListBucket on arn:aws:s3:::my-bucket with a prefix condition What is the best least-privilege change to fix the cleanup failure?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Add s3:AbortMultipartUpload for arn:aws:s3:::my-bucket/uploads/*.

For multipart uploads, S3 clients use s3:AbortMultipartUpload to stop/cleanup an in-progress multipart upload (for example, when an upload fails or the client cancels). Granting s3:AbortMultipartUpload only on the uploads prefix matches the denied API in the symptom and keeps the permission scoped to the exact objects the service uploads.

B

Distractor review

Add s3:AbortMultipartUpload for arn:aws:s3:::my-bucket/*.

This would fix the AccessDenied, but it is not least-privilege. The service only needs to abort uploads under the uploads/ prefix, so granting AbortMultipartUpload on the entire bucket broadens the scope unnecessarily.

C

Distractor review

Add s3:ListBucket for arn:aws:s3:::my-bucket/uploads/* so the service can find parts to abort.

The failure is explicitly for s3:AbortMultipartUpload. Listing parts is not what is being denied in the error message, and s3:ListBucket permissions generally do not grant the ability to abort multipart uploads.

D

Distractor review

Add kms:Decrypt permissions for the KMS key used to encrypt objects in the bucket.

kms:Decrypt is unrelated to aborting multipart upload sessions. The denied action is s3:AbortMultipartUpload, so adding KMS permissions would not address the missing S3 permission causing the cleanup failure.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Add s3:AbortMultipartUpload for arn:aws:s3:::my-bucket/uploads/*. — The denied error names s3:AbortMultipartUpload. For multipart uploads, cleanup operations require permission to abort the multipart upload ID when a part upload fails or the client cancels. Therefore, the least-privilege fix is to add s3:AbortMultipartUpload scoped to only the object keys/prefix the service uses (arn:aws:s3:::my-bucket/uploads/*). Broadening ListBucket or adding unrelated KMS permissions will not resolve a missing AbortMultipartUpload permission. B grants a broader scope than necessary. C addresses a different class of action and does not match the denied API in the error message. D changes KMS permissions, but the denied API is S3 multipart abort/cleanup (s3:AbortMultipartUpload), not decryption.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.