mediummultiple choiceObjective-mapped

A security analyst needs to let an external vendor (AWS account 555566667777) read data from a set of internal resources in your AWS account. You created an IAM role called VendorReadRole with a policy that allows the required API calls. However, when the vendor tries to access, CloudTrail shows the call fails at AssumeRole with: "Not authorized to perform: sts:AssumeRole".

What is the most appropriate fix?

Question 1mediummultiple choice
Full question →

A security analyst needs to let an external vendor (AWS account 555566667777) read data from a set of internal resources in your AWS account. You created an IAM role called VendorReadRole with a policy that allows the required API calls. However, when the vendor tries to access, CloudTrail shows the call fails at AssumeRole with: "Not authorized to perform: sts:AssumeRole".

What is the most appropriate fix?

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 an allow statement for the vendor in the role’s trust policy to permit sts:AssumeRole from the vendor account (and include any required ExternalId condition).

AssumeRole is blocked unless the role trust policy allows the vendor principal. The role’s permissions policy alone cannot permit assumption.

B

Distractor review

Attach the same allow policy to the vendor account’s existing IAM user so the user can call sts:AssumeRole directly into your role.

Even if the vendor user can call sts:AssumeRole, your role still must trust that principal. Without trust, the AssumeRole request is denied.

C

Distractor review

Replace the AssumeRole call with GetCallerIdentity so the vendor can infer permissions without assuming the role.

GetCallerIdentity does not grant access to the internal resources. The vendor still needs a trusted identity and proper permissions.

D

Distractor review

Enable MFA on the vendor’s IAM user and require MFA for your role using condition keys in the permissions policy.

MFA requirements affect the authorization flow but do not solve the root cause. The trust policy must first allow the vendor to assume the role.

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 an allow statement for the vendor in the role’s trust policy to permit sts:AssumeRole from the vendor account (and include any required ExternalId condition). — The error occurs at sts:AssumeRole, which is controlled by the role’s trust relationship (assume role policy), not by the permissions attached to the role. Even a perfectly scoped permissions policy cannot help if the role does not trust the vendor principal. Updating the trust policy to allow the vendor account (and optionally enforce sts:ExternalId) is the correct least-privilege fix. After that, the existing permissions policy can be evaluated for the specific API actions. Why others are wrong: Option B focuses on the vendor-side identity policy, but AssumeRole still requires the target role to trust the vendor principal in your account. Option C misunderstands sts: APIs: GetCallerIdentity does not bypass authorization and cannot access protected resources. Option D addresses an additional security control (MFA) but does not resolve the immediate denial because the trust policy is missing the allow for the vendor to assume the role.

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.