hardmultiple choiceObjective-mapped

A SaaS vendor’s automation account in Account B needs to assume a role in a customer account in Account A to read a specific S3 bucket and publish a deployment status file. The customer is worried about confused deputy attacks because multiple customers use the same vendor software. Which trust-policy design best meets the requirement?

Question 1hardmultiple choice
Full question →

A SaaS vendor’s automation account in Account B needs to assume a role in a customer account in Account A to read a specific S3 bucket and publish a deployment status file. The customer is worried about confused deputy attacks because multiple customers use the same vendor software. Which trust-policy design best meets the requirement?

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

Distractor review

Allow the Account B root principal to assume the role if the caller knows the role ARN.

This would work technically, but it is far too broad and does not protect against confused deputy abuse. Any principal in Account B that can reach the role could potentially use it, which violates the customer’s security requirement.

B

Best answer

Allow only the vendor’s specific IAM principal to assume the role and require a unique sts:ExternalId condition.

This is the standard confused deputy protection pattern for third-party cross-account access. The trust policy limits who can call AssumeRole, and the sts:ExternalId condition lets the customer require a customer-specific value that the vendor must supply. That prevents another customer or a malicious party from reusing the same role ARN successfully.

C

Distractor review

Attach a permissions boundary to the role so that the vendor cannot exceed the approved permissions.

A permissions boundary limits what permissions the role can have after it is assumed, but it does not stop an unintended principal from assuming the role. It addresses privilege scope, not confused deputy risk.

D

Distractor review

Require MFA for the role assumption because it ensures only the vendor’s production automation can use the role.

MFA is not a practical control for non-human automation and does not solve cross-account confused deputy risk. The vendor’s automation should use a trust policy with a specific principal and an ExternalId instead.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

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?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Allow only the vendor’s specific IAM principal to assume the role and require a unique sts:ExternalId condition. — The strongest protection is to trust only the vendor’s intended IAM principal and require a unique sts:ExternalId in the role trust policy. That combination ensures the customer account can distinguish legitimate vendor requests from requests made by another customer or an attacker who merely knows the role ARN. It is the AWS-recommended pattern for third-party cross-account access and is well suited to automated AssumeRole use. Allowing the root of Account B is too permissive and creates avoidable exposure. A permissions boundary only constrains permissions after assumption; it does not control who may assume the role. MFA is not suited to machine-to-machine automation and still would not prevent a confused deputy scenario. The key control here is the trust policy plus ExternalId.

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.