ScenarioCert
SAP-C03 ยท Security, Compliance, and Governance (25-25%)

Design identity security architectures

Practice questions and explanations for the "Design identity security architectures" objective of the AWS Certified Solutions Architect - Professional exam. Skills measured as of 2026-10-29.

Skills in this objective

  • Implement identity federation by using standard protocols
  • Design application authentication and authorization solutions
  • Design least-privilege access controls such as cross-account access and temporary credentials
  • Design data perimeter controls and external access validation solutions
  • Design workload identities for hybrid and multi-cloud environments

Test yourself on this domain

Take the free 15-question test, or unlock all 150 questions and practice this domain on its own.

Sample questions

4 of the 9 questions we have for this objective, shown with the answer and the reasoning.

Design identity security architectures

Kestrel Labs runs batch jobs on servers in its own data center and in another cloud provider. The jobs upload results to Amazon S3 and today use IAM user access keys stored in configuration files. Security wants to remove all long-term AWS credentials. Every server already has an X.509 certificate issued by the company's private certificate authority.

Which solution should the solutions architect recommend?

  1. ARotate the IAM user access keys every 30 days with an automated script.Rotation shortens the exposure window but the keys are still long-term credentials stored on disk.
  2. BConfigure IAM Roles Anywhere with a trust anchor for the private CA and a profile mapped to an IAM role, and have each server use the credential helper with its certificate.IAM Roles Anywhere exchanges a certificate issued by a trusted CA for temporary credentials of an IAM role, so workloads outside AWS no longer need access keys.
  3. CCreate an Amazon Cognito identity pool and have each server sign in as an unauthenticated identity to obtain AWS credentials.Unauthenticated identities would give any caller access, and Cognito identity pools are designed for application users, not servers.
  4. DRegister each server with a Systems Manager hybrid activation and have the batch jobs reuse the temporary managed-node credentials that the SSM Agent stores on the server to upload to Amazon S3.Hybrid activations register servers for Systems Manager management; repurposing those credentials for application access is not the intended pattern and couples the jobs to the agent.
Why: Workloads running outside AWS used to need IAM user keys. IAM Roles Anywhere removes them by trusting an existing PKI: a trust anchor references the CA (AWS Private CA or your own), a profile chooses the roles and session policies, and the credential helper signs a request with the server's certificate to receive temporary credentials. That fits hybrid and multi-cloud servers that already have certificates, which is the deciding detail.
Design identity security architectures

Ellery Systems sells a cost-reporting product that must read billing data from customer AWS accounts. Each customer creates an IAM role that Ellery's production account, 444455556666, will assume. Ellery's security review flagged that a malicious customer could give Ellery the ARN of another customer's role, causing Ellery to read data it should not on that customer's behalf. Ellery wants the standard AWS mitigation.

What should the solutions architect require?

  1. AAsk each customer to create an IAM user with read-only billing access keys for Ellery, and store each customer's keys in AWS Secrets Manager in account 444455556666 under that customer's ID.Long-lived access keys from third parties are a security anti-pattern and do not address the confused deputy risk.
  2. BRequire MFA in the trust policy by using the aws:MultiFactorAuthPresent condition key.Ellery's automated service cannot provide MFA, and MFA does not distinguish which customer a request belongs to.
  3. CRequire each customer to add an sts:ExternalId condition with a unique value Ellery generates for that customer, and have Ellery pass that value in every AssumeRole call.The external ID ties each role to one Ellery customer record. Because Ellery supplies the value it generated for the requesting customer, it cannot be tricked into assuming another customer's role, which prevents the confused deputy problem.
  4. DRequire each customer to restrict the trust policy with aws:PrincipalOrgID set to Ellery's organization ID.This limits who may assume the role to Ellery's organization, which Ellery already is. It does not stop Ellery itself from being used as a confused deputy against another customer.
Why: When a third party assumes roles in many customer accounts, the confused deputy problem arises: one customer could trick the vendor into using its access against another customer. The AWS-recommended mitigation is an external ID, a unique value per customer that the vendor generates and that the customer requires in the trust policy with the sts:ExternalId condition. The vendor always passes the external ID for the customer it is acting for. Organization ID conditions and MFA solve different problems.
Design identity security architectures

Aldermoor Research uses IAM Identity Center with Microsoft Entra ID as the external identity provider and SCIM provisioning. Scientists in 40 project teams work in a shared account named research-data, where S3 objects and EC2 instances are tagged with project=<name>. Each scientist's Entra ID profile has a project attribute. The company wants every scientist restricted to resources that carry their own project tag, and it wants to avoid creating a separate permission set for each of the 40 projects, which change monthly.

What should the solutions architect do?

  1. AAttach a service control policy to research-data that denies S3 and EC2 actions when aws:ResourceTag/project does not match the principal's Entra ID group name, and assign one broad permission set to all scientists.SCPs cannot read IdP group membership, and on their own they never grant access. The comparison must be based on session tags in an identity policy.
  2. BCreate 40 IAM groups in research-data, one per project, each with a policy scoped to that project's resources, and map Entra ID groups to them.IAM groups cannot be the target of federated Identity Center sign-in, and per-project policies are exactly the per-project maintenance the company wants to avoid.
  3. CEnable attributes for access control, map the Entra ID project attribute to a session tag, and use one permission set whose policy requires aws:ResourceTag/project to equal ${aws:PrincipalTag/project}.Attributes for access control pass IdP attributes as session tags. A single ABAC policy that compares the resource tag with the principal tag works for any number of projects without changes when projects are added.
  4. DCreate one permission set per project and assign each permission set to the matching Entra ID group.This works, but it creates 40 permission sets that must be added and removed monthly, which the company explicitly wants to avoid.
Why: Attribute-based access control (ABAC) scales permissions with tags instead of with policies. IAM Identity Center can take user attributes from the identity source, such as an Entra ID project or cost center attribute, and pass them as session tags when the user assumes the permission set role. A policy that compares aws:ResourceTag/project with ${aws:PrincipalTag/project} then grants access to matching resources only. New projects need only new tags, not new policies, which is why ABAC suits rapidly changing teams.
Design identity security architectures

Ashgrove Bank runs 30 Amazon EKS clusters across several accounts, and new clusters are created every quarter. Pods in the payments namespace need read access to one Amazon DynamoDB table, and no other pods may have it. Today the team uses IAM roles for service accounts, and every new cluster requires a new OIDC provider and an edit to the role's trust policy, which has caused outages when the trust policy reached its size limit.

Which approach gives the payments pods least-privilege access with the least ongoing effort?

  1. AInstall the EKS Pod Identity Agent add-on, give one role a trust policy for pods.eks.amazonaws.com, and add a pod identity association for the payments service account per cluster.EKS Pod Identity needs no OIDC provider per cluster, and one role with a fixed trust policy can be reused across clusters through associations, so new clusters do not touch the role.
  2. BCreate an IAM user for the payments service and store its access keys in a Kubernetes secret in each cluster.Long-term access keys in secrets must be rotated and can leak, which is worse than temporary credentials.
  3. CKeep IAM roles for service accounts but create a separate IAM role per cluster, each trusting only that cluster's OIDC provider and the payments service account through a StringEquals sub condition.This avoids the trust policy size limit but still needs an OIDC provider and a new role for every cluster, so the effort keeps growing.
  4. DAttach the DynamoDB permissions to the worker node instance role in every cluster.Every pod on those nodes would inherit the permissions, which violates least privilege.
Why: For workloads on EKS, both IAM roles for service accounts and EKS Pod Identity give pods their own temporary credentials. Pod Identity is simpler at scale: the trust policy names the EKS service principal instead of a cluster-specific OIDC provider, so one role per account (or a target role in the account that owns the table) works for every cluster in that account, and access is granted by creating an association between a service account and a role. Node roles share permissions with every pod and are not least privilege.

Written from the public documentation. Not affiliated with AWS. Official study guide.