← GlobeSec.ai
GlobeSec SAP-C02 Identity & Federation

AWS Solutions Architect Professional — Identity & Federation

60 refresher questions — IAM, STS, SAML & web identity federation, Cognito, Directory Service, Organizations & SCPs, IAM Identity Center, Control Tower, RAM

0/60
Correct Answers
0 / 60 answered

Pick an answer to see the explanation. Fundamental questions refresh the basics; Advanced questions are short SAP-style scenarios.

IAM PoliciesFundamental
Q1.An identity-based policy allows s3:*, but a second policy attached to the same user denies s3:DeleteObject. What happens when the user tries to delete an object?
AThe delete succeeds because the broader Allow is evaluated last
BThe delete succeeds because Allow and Deny cancel each other out
CThe result depends on which policy was attached most recently
DThe delete is denied because an explicit Deny overrides any Allow
✓ Correct: D. The delete is denied because an explicit Deny overrides any Allow

How to think about it: Explicit Deny always wins over any Allow.

Why D is correct: IAM evaluation checks for an explicit Deny first; if one matches, no Allow anywhere can override it.

Why the others are wrong:
A) The delete succeeds because the broader Allow is evaluated last — Order of attachment or evaluation does not matter; a matching Deny is final.
B) The delete succeeds because Allow and Deny cancel each other out — There is no cancelling out; a single explicit Deny blocks the request.
C) The result depends on which policy was attached most recently — IAM has no recency rule; every applicable policy is evaluated together.
IAM PoliciesFundamental
Q2.If no policy mentions an action at all, what is the result when a user calls it?
AIt is allowed because nothing denies it
BIt is allowed if the user has MFA enabled
CIt is implicitly denied
DIt is allowed only for read-only actions
✓ Correct: C. It is implicitly denied

How to think about it: Nothing says yes = implicit deny.

Why C is correct: IAM denies everything by default; a request needs an explicit Allow and no explicit Deny to succeed.

Why the others are wrong:
A) It is allowed because nothing denies it — IAM is default-deny, so silence never grants access.
B) It is allowed if the user has MFA enabled — MFA status alone grants nothing; it can only be checked in a condition.
D) It is allowed only for read-only actions — There is no special default for read actions; they also need an Allow.
IAM PoliciesFundamental
Q3.The AWS managed policy PowerUserAccess grants broad access but excludes IAM and Organizations management. Which policy element makes that possible without writing a Deny?
AAn Allow statement that uses NotAction
BA permissions boundary attached to the policy
CA Deny statement scoped with a Condition
DAn Allow statement that uses NotResource
✓ Correct: A. An Allow statement that uses NotAction

How to think about it: Allow everything except a list = NotAction with Effect Allow.

Why A is correct: NotAction with Allow grants every action except those listed, so IAM and Organizations simply are not granted.

Why the others are wrong:
B) A permissions boundary attached to the policy — Boundaries attach to users or roles, not to another managed policy.
C) A Deny statement scoped with a Condition — A Deny would block those actions even if another policy allowed them, which PowerUserAccess avoids.
D) An Allow statement that uses NotResource — NotResource excludes resources, not actions such as iam:*.
IAM PoliciesFundamental
Q4.A bucket policy must reject any request that does not use HTTPS. Which condition key should it test?
Aaws:SourceIp with the IpAddress operator
Bs3:x-amz-server-side-encryption
Caws:MultiFactorAuthPresent with Bool
Daws:SecureTransport with the Bool operator
✓ Correct: D. aws:SecureTransport with the Bool operator

How to think about it: Encrypted in transit = aws:SecureTransport (Bool).

Why D is correct: This key is true only when the request arrived over TLS, so a Deny when it is false blocks plain HTTP.

Why the others are wrong:
A) aws:SourceIp with the IpAddress operator — SourceIp checks where the request came from, not whether it was encrypted.
B) s3:x-amz-server-side-encryption — That key concerns encryption at rest of the uploaded object, not the transport protocol.
C) aws:MultiFactorAuthPresent with Bool — This checks whether the caller used MFA, which is unrelated to HTTPS.
IAM PoliciesFundamental
Q5.One policy should give every IAM user access only to their own folder home/<username>/ in a shared bucket. What makes this possible?
AAn S3 access point per user with no IAM policy
BA separate inline policy written for each user
CThe aws:SourceIp condition key
DThe ${aws:username} variable in the Resource ARN
✓ Correct: D. The ${aws:username} variable in the Resource ARN

How to think about it: One policy, per-user paths = policy variable ${aws:username}.

Why D is correct: The variable is replaced with the caller's user name at evaluation time, so one policy serves every user.

Why the others are wrong:
A) An S3 access point per user with no IAM policy — Access points still need policies; they do not personalise paths on their own.
B) A separate inline policy written for each user — That works but defeats the goal of a single maintainable policy.
C) The aws:SourceIp condition key — Source IP identifies a network location, not which folder belongs to which user.
IAM PoliciesFundamental
Q6.What does an IAM permissions boundary do?
AIt limits every account in an organizational unit
BIt caps the permissions a user or role can ever have
CIt grants permissions to every member of an IAM group
DIt lists which external accounts may assume a role
✓ Correct: B. It caps the permissions a user or role can ever have

How to think about it: Boundary = maximum permissions ceiling; it never grants anything by itself.

Why B is correct: Effective permissions are the overlap of the boundary and the identity policies; the boundary alone grants nothing.

Why the others are wrong:
A) It limits every account in an organizational unit — Limiting accounts across an OU is the job of a service control policy.
C) It grants permissions to every member of an IAM group — Boundaries cannot be attached to groups and they do not grant access.
D) It lists which external accounts may assume a role — That is the role's trust policy, not a boundary.
IAM PoliciesAdvanced
Q7.Developers must be allowed to create IAM roles for their Lambda functions, but must never be able to create a role more powerful than themselves. What is the standard control?
AGive developers read-only IAM access and approve roles manually
BAttach an SCP that denies iam:CreateRole in the account
CAllow iam:CreateRole only when a specific permissions boundary is attached
DEnable IAM Access Analyzer in the account
✓ Correct: C. Allow iam:CreateRole only when a specific permissions boundary is attached

How to think about it: Delegated IAM admin without privilege escalation = require a permissions boundary on what they create.

Why C is correct: A condition on iam:PermissionsBoundary forces every new role under the same ceiling, so nobody can escalate.

Why the others are wrong:
A) Give developers read-only IAM access and approve roles manually — This is safe but does not let developers self-serve as required.
B) Attach an SCP that denies iam:CreateRole in the account — This stops the developers from creating roles at all, which breaks the requirement.
D) Enable IAM Access Analyzer in the account — Access Analyzer reports external sharing; it does not stop escalation in real time.
IAM PoliciesFundamental
Q8.Which IAM Access Analyzer capability reports that an S3 bucket or KMS key is reachable from outside your account or organization?
APolicy validation checks
BExternal access findings
CAccess Advisor last-accessed data
DThe IAM credential report
✓ Correct: B. External access findings

How to think about it: Outside the zone of trust = Access Analyzer external access findings.

Why B is correct: You set the account or organization as the zone of trust, and any resource shared outside it becomes a finding.

Why the others are wrong:
A) Policy validation checks — Validation checks grammar and best practices of a policy you are writing, not live sharing.
C) Access Advisor last-accessed data — Access Advisor shows when services were last used by an identity, not external exposure.
D) The IAM credential report — The credential report lists users and their credential status, not resource sharing.
IAM PoliciesFundamental
Q9.A team wants a least-privilege policy for a role, built from the API calls the role really made over recent weeks. Which feature helps?
AIAM Access Analyzer policy validation
BAWS Trusted Advisor security checks
CThe IAM policy simulator
DIAM Access Analyzer policy generation
✓ Correct: D. IAM Access Analyzer policy generation

How to think about it: Write the policy from real activity = Access Analyzer policy generation (reads CloudTrail).

Why D is correct: It reviews the role's CloudTrail history and drafts a policy with only the actions and services that were used.

Why the others are wrong:
A) IAM Access Analyzer policy validation — Validation checks a policy you already wrote; it does not create one from activity.
B) AWS Trusted Advisor security checks — Trusted Advisor flags risky settings but does not write fine-grained IAM policies.
C) The IAM policy simulator — The simulator tests what a policy allows; it does not build a policy from history.
IAM PoliciesAdvanced
Q10.Engineers may create EBS volumes only if the request includes both the Env and CostCenter tag keys. Which condition approach enforces this?
Aaws:PrincipalTag on the engineer
Baws:ResourceTag on the volume being created
Caws:TagKeys with ForAllValues plus aws:RequestTag checks
Dec2:Region with StringEquals
✓ Correct: C. aws:TagKeys with ForAllValues plus aws:RequestTag checks

How to think about it: Every listed tag must be present = aws:TagKeys with ForAllValues plus a request-tag check.

Why C is correct: ForAllValues limits the request to approved keys, and RequestTag checks make sure both keys are actually supplied.

Why the others are wrong:
A) aws:PrincipalTag on the engineer — PrincipalTag checks the caller's own tags, not the tags on the new volume.
B) aws:ResourceTag on the volume being created — ResourceTag reads tags that already exist on a resource, not those in the create request.
D) ec2:Region with StringEquals — This only controls the Region; it does nothing about tags.
IAM PoliciesAdvanced
Q11.A role's sessions were exposed. You must cut off every session already issued for that role without deleting the role. What do you do?
ARotate the role's access keys
BDetach all permission policies from the role
CRevoke active sessions, denying tokens issued before now
DLower the role's maximum session duration to 15 minutes
✓ Correct: C. Revoke active sessions, denying tokens issued before now

How to think about it: Kill issued sessions = revoke active sessions (deny on aws:TokenIssueTime).

Why C is correct: The AWSRevokeOlderSessions inline policy denies all requests whose token was issued before the revoke time.

Why the others are wrong:
A) Rotate the role's access keys — Roles have no long-term access keys; their credentials are temporary.
B) Detach all permission policies from the role — This blocks old and new sessions alike, and the role becomes unusable.
D) Lower the role's maximum session duration to 15 minutes — This affects future sessions only; existing tokens stay valid until they expire.
STS & RolesFundamental
Q12.What is the key difference between assuming a cross-account role and using a resource-based policy to grant access?
AAssuming a role keeps your permissions and adds the role's
BA role swaps your permissions for the role's; a resource policy keeps yours
CResource policies require the caller to have MFA
DResource policies work only within one account; roles work across accounts
✓ Correct: B. A role swaps your permissions for the role's; a resource policy keeps yours

How to think about it: Assume a role = give up your own permissions. Resource policy = keep them.

Why B is correct: With a resource policy you act as yourself, so you can read in one account and write in the other in the same session.

Why the others are wrong:
A) Assuming a role keeps your permissions and adds the role's — Assuming a role replaces your permissions for that session; they are not merged.
C) Resource policies require the caller to have MFA — MFA is optional and can be required by condition in either approach.
D) Resource policies work only within one account; roles work across accounts — Resource policies such as bucket policies are commonly used to grant other accounts access.
STS & RolesAdvanced
Q13.A user in Account A must scan a DynamoDB table in Account A and write the output into an S3 bucket in Account B in one process. What is the simplest design?
ACreate a duplicate IAM user in Account B
BAdd an S3 bucket policy in Account B that allows the Account A user to write
CUse AWS RAM to share the S3 bucket with Account A
DHave the user assume a role in Account B and then read DynamoDB
✓ Correct: B. Add an S3 bucket policy in Account B that allows the Account A user to write

How to think about it: Need both accounts at once = resource-based policy on the target (bucket policy).

Why B is correct: The user keeps Account A permissions to read DynamoDB and the bucket policy allows the write, so no role switch is needed.

Why the others are wrong:
A) Create a duplicate IAM user in Account B — Two sets of long-term credentials add risk and still need a copy step.
C) Use AWS RAM to share the S3 bucket with Account A — S3 buckets are not shared through RAM; bucket policies do this.
D) Have the user assume a role in Account B and then read DynamoDB — Once in the Account B role, the user loses Account A permissions and cannot read the table.
STS & RolesFundamental
Q14.Which STS API does an IAM user or application call to get temporary credentials for a role in the same or another account?
AGetSessionToken
BAssumeRole
CAssumeRoleWithSAML
DAssumeRoleWithWebIdentity
✓ Correct: B. AssumeRole

How to think about it: Plain role switch = AssumeRole.

Why B is correct: AssumeRole returns temporary credentials for the role, provided the trust policy names the caller.

Why the others are wrong:
A) GetSessionToken — GetSessionToken gives MFA-backed temporary credentials for your own user, not for a role.
C) AssumeRoleWithSAML — This is used after a SAML identity provider has authenticated the user.
D) AssumeRoleWithWebIdentity — This exchanges a token from an OIDC web identity provider, not an IAM user's credentials.
STS & RolesFundamental
Q15.A user must use MFA before calling sensitive APIs from the CLI with their own IAM user permissions. Which STS call gives MFA-backed temporary credentials?
AAssumeRole
BGetCallerIdentity
CGetFederationToken
DGetSessionToken
✓ Correct: D. GetSessionToken

How to think about it: MFA for your own user = GetSessionToken.

Why D is correct: It takes the MFA code and returns temporary credentials for the same user, so MFA conditions are satisfied.

Why the others are wrong:
A) AssumeRole — AssumeRole can include MFA, but it switches to a role rather than keeping the user's own permissions.
B) GetCallerIdentity — This only reports who you are; it returns no credentials.
C) GetFederationToken — This is meant for a broker issuing credentials to federated users.
STS & RolesFundamental
Q16.A SaaS vendor needs a cross-account role in your account. What protects against the confused deputy problem?
ARequire an External ID in the role's trust policy
BGive the vendor an IAM user with access keys
CRestrict the role with aws:SourceIp
DRequire MFA in the role's trust policy
✓ Correct: A. Require an External ID in the role's trust policy

How to think about it: Third-party role = External ID in the trust policy.

Why A is correct: The vendor supplies a unique External ID per customer, so another customer cannot trick the vendor into using your role.

Why the others are wrong:
B) Give the vendor an IAM user with access keys — Long-term keys for an outsider are the pattern roles are meant to replace.
C) Restrict the role with aws:SourceIp — IP limits help a little but do not tell one customer's request from another's.
D) Require MFA in the role's trust policy — The vendor's automation cannot provide MFA, and MFA does not stop the vendor being misused.
STS & RolesFundamental
Q17.An EC2 instance needs to call S3 without storing access keys. How does the application get credentials?
AAttach a role via an instance profile; the SDK reads it from metadata
BAttach several roles to the instance, one per service
CPut access keys in EC2 user data
DBake an IAM user's access keys into the AMI at build time
✓ Correct: A. Attach a role via an instance profile; the SDK reads it from metadata

How to think about it: EC2 credentials = instance profile role via the instance metadata service.

Why A is correct: The SDK fetches and refreshes temporary role credentials from the metadata service automatically.

Why the others are wrong:
B) Attach several roles to the instance, one per service — An instance profile holds a single role at a time.
C) Put access keys in EC2 user data — User data is readable from the instance and is not a secret store.
D) Bake an IAM user's access keys into the AMI at build time — Baked-in keys are long-lived, hard to rotate and easy to leak.
STS & RolesAdvanced
Q18.In an S3 bucket policy you want to allow only principals whose session carries the tag Department=HR, passed when they assumed the role. Which feature and key fit?
ACost allocation tags in the Billing console
BSTS session tags, checked with the aws:PrincipalTag condition key
CAn External ID set to HR on the role
DResource tags on the bucket, checked with aws:ResourceTag
✓ Correct: B. STS session tags, checked with the aws:PrincipalTag condition key

How to think about it: Tags passed at AssumeRole = session tags, checked with aws:PrincipalTag.

Why B is correct: Session tags become principal tags for that session, so policies can match on them.

Why the others are wrong:
A) Cost allocation tags in the Billing console — Cost allocation tags affect billing reports, not access decisions.
C) An External ID set to HR on the role — External ID guards third-party trust; it does not carry user attributes.
D) Resource tags on the bucket, checked with aws:ResourceTag — ResourceTag checks the bucket's own tags, not the caller's department.
STS & RolesFundamental
Q19.What is the allowed range for the maximum session duration you can set on an IAM role?
ACredentials never expire until revoked
BFrom 5 minutes up to 1 hour
CFrom 1 hour up to 12 hours
DFrom 1 hour up to 7 days
✓ Correct: C. From 1 hour up to 12 hours

How to think about it: Role sessions: 1 hour default, up to 12 hours max (15 minutes minimum per request).

Why C is correct: You can raise a role's maximum session duration to 12 hours; callers may request as little as 15 minutes.

Why the others are wrong:
A) Credentials never expire until revoked — STS credentials are always temporary and expire on their own.
B) From 5 minutes up to 1 hour — Role sessions can be much longer than one hour if configured.
D) From 1 hour up to 7 days — Seven days exceeds what AssumeRole can issue.
STS & RolesAdvanced
Q20.An application assumes Role A, then uses those credentials to assume Role B and asks for a 4-hour session. What happens?
AThe call fails, because chained role sessions are limited to 1 hour
BIt succeeds if Role B's maximum session duration is 12 hours
CIt succeeds and inherits Role A's remaining session time
DIt succeeds only if both roles are in the same account
✓ Correct: A. The call fails, because chained role sessions are limited to 1 hour

How to think about it: Role chaining = sessions capped at 1 hour, whatever the role's maximum.

Why A is correct: When a role assumes another role, STS allows at most one hour, so a longer request is rejected.

Why the others are wrong:
B) It succeeds if Role B's maximum session duration is 12 hours — Role B's own maximum does not apply to chained sessions.
C) It succeeds and inherits Role A's remaining session time — Sessions are not inherited; the chained session has its own one-hour limit.
D) It succeeds only if both roles are in the same account — The one-hour limit applies to role chaining in the same or another account.
FederationFundamental
Q21.Employees authenticate against on-premises ADFS. They should reach the AWS console without IAM users. Which STS API works under the hood?
AGetFederationToken
BAssumeRoleWithWebIdentity
CGetSessionToken
DAssumeRoleWithSAML
✓ Correct: D. AssumeRoleWithSAML

How to think about it: SAML 2.0 IdP such as ADFS = AssumeRoleWithSAML.

Why D is correct: The IdP issues a SAML assertion, and STS exchanges it for temporary credentials of a mapped role.

Why the others are wrong:
A) GetFederationToken — This is used by a custom broker when the IdP does not speak SAML.
B) AssumeRoleWithWebIdentity — This is for OIDC tokens from web or social providers, not SAML assertions.
C) GetSessionToken — This issues temporary credentials for an existing IAM user, which these employees do not have.
FederationFundamental
Q22.When setting up SAML 2.0 federation with AWS IAM, what trust must be configured?
AA forest trust between Active Directory and IAM
BOne way only: the IdP trusts AWS
CA VPC peering connection to the IdP
DBoth ways: AWS trusts the IdP and the IdP trusts AWS
✓ Correct: D. Both ways: AWS trusts the IdP and the IdP trusts AWS

How to think about it: SAML federation = two-way trust: IdP metadata in IAM, AWS as a relying party in the IdP.

Why D is correct: IAM gets a SAML provider from the IdP metadata, and the IdP is configured with AWS as the service provider.

Why the others are wrong:
A) A forest trust between Active Directory and IAM — Forest trusts link AD domains; IAM is not an AD forest.
B) One way only: the IdP trusts AWS — AWS must also know and trust the IdP before it accepts assertions.
C) A VPC peering connection to the IdP — SAML runs over the browser and HTTPS; no network peering is required.
FederationAdvanced
Q23.A company's identity store is a legacy LDAP system that cannot issue SAML or OIDC. Users need temporary AWS credentials. What is the pattern?
AUse Cognito user pools with the LDAP server as an OIDC provider
BBuild a custom identity broker that authenticates users and calls STS
CCreate IAM users that mirror each LDAP account
DConfigure a SAML provider in IAM pointing at the LDAP server
✓ Correct: B. Build a custom identity broker that authenticates users and calls STS

How to think about it: IdP not SAML-compatible = custom identity broker calling AssumeRole or GetFederationToken.

Why B is correct: The broker checks LDAP, decides the right permissions, and requests temporary credentials from STS.

Why the others are wrong:
A) Use Cognito user pools with the LDAP server as an OIDC provider — The LDAP system cannot issue OIDC tokens, so Cognito cannot federate with it directly.
C) Create IAM users that mirror each LDAP account — This duplicates identities and long-term credentials, which federation is meant to avoid.
D) Configure a SAML provider in IAM pointing at the LDAP server — IAM SAML providers require a SAML 2.0 IdP, which this system is not.
FederationFundamental
Q24.For a mobile app whose users sign in with Google or Facebook, what does AWS recommend for getting AWS credentials?
ASAML 2.0 federation with ADFS
BAmazon Cognito identity pools
CIAM users created at sign-up
DCalling AssumeRoleWithWebIdentity directly from the app
✓ Correct: B. Amazon Cognito identity pools

How to think about it: Web/mobile federation = Amazon Cognito (identity pools), not raw web identity.

Why B is correct: Cognito exchanges the provider token for temporary credentials of least-privilege roles, and supports guest access.

Why the others are wrong:
A) SAML 2.0 federation with ADFS — ADFS serves corporate users, not consumer social logins.
C) IAM users created at sign-up — Long-term IAM users for app users do not scale and are a security risk.
D) Calling AssumeRoleWithWebIdentity directly from the app — It works, but AWS recommends Cognito because it handles providers, guests and token exchange for you.
FederationFundamental
Q25.Which Cognito capability lets a mobile app give limited AWS access to people who have not signed in yet?
AGuest identities in a Cognito identity pool
BA permissions boundary on the app role
CAn anonymous IAM user shared by every device
DS3 pre-signed URLs from IAM Identity Center
✓ Correct: A. Guest identities in a Cognito identity pool

How to think about it: Not signed in = unauthenticated (guest) identities in an identity pool.

Why A is correct: The pool maps guests to a separate, tightly scoped IAM role.

Why the others are wrong:
B) A permissions boundary on the app role — A boundary limits a role but does not create guest identities.
C) An anonymous IAM user shared by every device — A shared IAM user means long-term keys embedded in the app.
D) S3 pre-signed URLs from IAM Identity Center — Identity Center serves workforce users, not anonymous app visitors.
FederationAdvanced
Q26.Web identity federation users should each read only their own prefix in an S3 bucket. What goes in the role policy?
AThe ${aws:username} variable in the Resource ARN
BA separate IAM role created for every app user
CA dedicated S3 access point for each app user
DThe ${cognito-identity.amazonaws.com:sub} variable
✓ Correct: D. The ${cognito-identity.amazonaws.com:sub} variable

How to think about it: Per-federated-user paths = policy variable such as ${cognito-identity.amazonaws.com:sub}.

Why D is correct: The variable resolves to the caller's unique identity ID, so the same role restricts each user to their own prefix.

Why the others are wrong:
A) The ${aws:username} variable in the Resource ARN — Federated users are not IAM users, so aws:username is not set for them.
B) A separate IAM role created for every app user — This does not scale and needs role changes for every sign-up.
C) A dedicated S3 access point for each app user — Access points do not know the federated identity unless a policy variable is used anyway.
FederationFundamental
Q27.Which federation option is AWS's recommended managed way to give workforce users single sign-on to many AWS accounts?
AIAM Identity Center
BA custom identity broker
CA separate SAML provider in each account
DAmazon Cognito user pools
✓ Correct: A. IAM Identity Center

How to think about it: Workforce SSO across accounts = IAM Identity Center; per-account SAML is the older way.

Why A is correct: It centralises workforce sign-in, connects to an external IdP or AD, and assigns access to every account in the organization.

Why the others are wrong:
B) A custom identity broker — A broker is a fallback for IdPs that cannot speak SAML, not the managed default.
C) A separate SAML provider in each account — This works but must be configured and maintained account by account.
D) Amazon Cognito user pools — Cognito is aimed at customer-facing apps, not workforce access to AWS accounts.
FederationAdvanced
Q28.A corporate proxy application authenticates users and must hand them temporary AWS credentials whose permissions are the intersection of its own and a policy it passes. Which call fits?
AGetFederationToken
BAssumeRoleWithWebIdentity
CAssumeRoleWithSAML
DGetSessionToken
✓ Correct: A. GetFederationToken

How to think about it: Broker issues federated-user credentials = GetFederationToken.

Why A is correct: It returns temporary credentials for a federated user, scoped by the session policy passed in.

Why the others are wrong:
B) AssumeRoleWithWebIdentity — This requires an OIDC token from a web identity provider.
C) AssumeRoleWithSAML — This needs a SAML assertion from a SAML IdP, which a custom proxy may not produce.
D) GetSessionToken — This returns credentials for the calling user only and cannot take a session policy.
Directory ServiceFundamental
Q29.A company wants a fully managed Microsoft AD in AWS that supports MFA and a two-way forest trust with its on-premises AD. Which option fits?
AAmazon Cognito user pools
BSimple AD
CAD Connector
DAWS Managed Microsoft AD
✓ Correct: D. AWS Managed Microsoft AD

How to think about it: Real AD in AWS + trust with on-prem = AWS Managed Microsoft AD.

Why D is correct: It runs actual Microsoft AD domain controllers in two AZs and supports MFA and forest trusts.

Why the others are wrong:
A) Amazon Cognito user pools — Cognito is a customer identity directory, not a Microsoft AD domain.
B) Simple AD — Simple AD is a low-cost AD-compatible directory that cannot trust an on-premises domain.
C) AD Connector — AD Connector only proxies to on-premises AD; it cannot hold users or form trusts.
Directory ServiceFundamental
Q30.Users must stay managed only in the on-premises AD, and AWS services should simply send authentication requests there. Which directory option fits?
AAD Connector
BIAM SAML provider
CSimple AD
DAWS Managed Microsoft AD
✓ Correct: A. AD Connector

How to think about it: Proxy to on-prem, no users in AWS = AD Connector.

Why A is correct: AD Connector is a gateway that forwards directory requests to on-premises AD over VPN or Direct Connect, with no caching.

Why the others are wrong:
B) IAM SAML provider — A SAML provider federates sign-in but does not act as an LDAP gateway for AWS directory-aware services.
C) Simple AD — Simple AD is standalone and cannot authenticate against on-premises AD.
D) AWS Managed Microsoft AD — This creates a separate AD domain in AWS, which is more than a simple proxy.
Directory ServiceFundamental
Q31.A small lab needs an inexpensive AD-compatible directory to join a few Linux and Windows instances. No on-premises link or MFA is required. Which option is cheapest?
ASimple AD
BSelf-managed AD on EC2 in two AZs
CAWS Managed Microsoft AD Enterprise edition
DAD Connector
✓ Correct: A. Simple AD

How to think about it: Cheap, basic, standalone = Simple AD (Samba-based).

Why A is correct: Simple AD is a low-cost Samba 4 based directory for basic user, group and domain-join needs.

Why the others are wrong:
B) Self-managed AD on EC2 in two AZs — You would run and patch the domain controllers yourself at higher cost.
C) AWS Managed Microsoft AD Enterprise edition — Enterprise edition is the largest and most expensive tier.
D) AD Connector — AD Connector needs an existing directory to proxy to, which this lab does not have.
Directory ServiceFundamental
Q32.What network connectivity is needed to set up a forest trust between AWS Managed Microsoft AD and an on-premises AD?
ASite-to-Site VPN or Direct Connect to the data centre
BA VPC gateway endpoint for Directory Service
COnly internet access from the domain controllers
DCloudFront in front of the on-premises domain controllers
✓ Correct: A. Site-to-Site VPN or Direct Connect to the data centre

How to think about it: AD trust needs a private path = Site-to-Site VPN or Direct Connect.

Why A is correct: Domain controllers must reach each other privately for trust traffic.

Why the others are wrong:
B) A VPC gateway endpoint for Directory Service — Gateway endpoints exist only for S3 and DynamoDB.
C) Only internet access from the domain controllers — Directory trust traffic is not sent over the open internet.
D) CloudFront in front of the on-premises domain controllers — CloudFront is a content delivery network, not a directory transport.
Directory ServiceAdvanced
Q33.RDS for SQL Server must use Windows authentication, and the users live in the on-premises AD. Which design works?
AAD Connector pointing at the on-premises AD
BIAM database authentication
CSimple AD synchronised from on-premises
DManaged Microsoft AD with a trust to on-premises AD
✓ Correct: D. Managed Microsoft AD with a trust to on-premises AD

How to think about it: RDS SQL Server Windows auth = Managed Microsoft AD (+ trust to on-prem).

Why D is correct: RDS for SQL Server joins the Managed AD domain, and the trust lets on-premises users sign in.

Why the others are wrong:
A) AD Connector pointing at the on-premises AD — RDS for SQL Server does not support AD Connector as its directory.
B) IAM database authentication — IAM database authentication is for MySQL and PostgreSQL engines, not Windows logins on SQL Server.
C) Simple AD synchronised from on-premises — Simple AD does not support RDS for SQL Server and cannot sync or trust.
Directory ServiceAdvanced
Q34.A trust exists between on-premises AD and AWS Managed Microsoft AD, but the company worries about authentication if the Direct Connect link fails. What reduces that risk?
AA self-managed replica DC of the on-prem domain on EC2
BAdd more domain controllers to the Managed AD
CSwitch the cloud directory to Simple AD
DReplace the trust with AD Connector
✓ Correct: A. A self-managed replica DC of the on-prem domain on EC2

How to think about it: Survive link loss = run a replica DC of the on-prem domain on EC2.

Why A is correct: Local replicas keep authenticating cloud workloads and cut latency even when the link is down.

Why the others are wrong:
B) Add more domain controllers to the Managed AD — Extra Managed AD controllers serve the AWS domain; they do not help reach the on-premises domain.
C) Switch the cloud directory to Simple AD — Simple AD cannot connect to on-premises AD at all.
D) Replace the trust with AD Connector — AD Connector has no cache, so it fails completely when the link drops.
Directory ServiceFundamental
Q35.How is AWS Managed Microsoft AD deployed for availability?
AA single domain controller with automatic replacement
BDomain controllers in two Availability Zones, with more DCs addable for scale
COne domain controller per Region, globally replicated by default
DDomain controllers on Lambda functions
✓ Correct: B. Domain controllers in two Availability Zones, with more DCs addable for scale

How to think about it: Managed AD = domain controllers in two AZs, more can be added.

Why B is correct: AWS deploys at least two DCs in separate AZs and handles patching and backups.

Why the others are wrong:
A) A single domain controller with automatic replacement — It always starts with two DCs, not one.
C) One domain controller per Region, globally replicated by default — Multi-Region replication is optional and only for Enterprise edition.
D) Domain controllers on Lambda functions — AD domain controllers run on managed instances, not Lambda.
Directory ServiceAdvanced
Q36.Several accounts and VPCs need their EC2 Windows instances to join the same AWS Managed Microsoft AD domain. What is the simplest way?
AShare the directory with the other accounts and use seamless domain join
BShare the directory's subnets through AWS RAM only
CUse Simple AD in each VPC
DCreate a new Managed AD in every account with trusts between them
✓ Correct: A. Share the directory with the other accounts and use seamless domain join

How to think about it: One Managed AD, many accounts = directory sharing + seamless domain join.

Why A is correct: Directory sharing lets other accounts' instances join the same domain without separate directories.

Why the others are wrong:
B) Share the directory's subnets through AWS RAM only — Sharing subnets does not share the directory itself.
C) Use Simple AD in each VPC — Separate Simple AD directories would be separate domains.
D) Create a new Managed AD in every account with trusts between them — Many directories and trusts add cost and complexity for no benefit.
Organizations & SCPsFundamental
Q37.Which statement about service control policies is true?
ASCPs cap member account permissions but grant nothing
BSCPs do not apply to a member account's root user
CSCPs grant permissions to every IAM user in an OU
DSCPs also restrict the management account
✓ Correct: A. SCPs cap member account permissions but grant nothing

How to think about it: SCP = guardrail only; it grants nothing and does not touch the management account.

Why A is correct: Identities still need IAM policies; the SCP only caps what those policies can allow.

Why the others are wrong:
B) SCPs do not apply to a member account's root user — SCPs do apply to the member account root user.
C) SCPs grant permissions to every IAM user in an OU — SCPs never grant permissions on their own.
D) SCPs also restrict the management account — The management account is not affected by SCPs.
Organizations & SCPsFundamental
Q38.Which identities inside a member account are NOT restricted by service control policies?
AThe member account root user
BIAM users with AdministratorAccess
CService-linked roles
DIAM roles assumed from another account
✓ Correct: C. Service-linked roles

How to think about it: SCP exceptions = service-linked roles (and the management account).

Why C is correct: Service-linked roles let AWS services act for you and are exempt from SCPs.

Why the others are wrong:
A) The member account root user — The member root user is restricted by SCPs like any other principal.
B) IAM users with AdministratorAccess — Admin users are still capped by the SCPs above them.
D) IAM roles assumed from another account — Cross-account roles in the member account are still bound by its SCPs.
Organizations & SCPsAdvanced
Q39.The root has FullAWSAccess. An OU has a policy allowing only EC2 and S3, replacing FullAWSAccess. An account inside that OU has FullAWSAccess. Can a user there with admin IAM rights use DynamoDB?
AYes, because the IAM admin policy allows everything
BNo, because the OU in the path does not allow DynamoDB
CYes, because the account itself has FullAWSAccess
DOnly if the root user makes the request
✓ Correct: B. No, because the OU in the path does not allow DynamoDB

How to think about it: Every level on the path must allow it; one missing allow = denied.

Why B is correct: SCP permissions are the intersection along the path, so an OU that omits DynamoDB blocks it below.

Why the others are wrong:
A) Yes, because the IAM admin policy allows everything — IAM permissions are capped by the SCPs above them.
C) Yes, because the account itself has FullAWSAccess — The account's own SCP cannot add back what a parent OU did not allow.
D) Only if the root user makes the request — The member root user is also limited by SCPs.
Organizations & SCPsFundamental
Q40.Which condition key does an SCP typically use to stop workloads being created outside approved Regions?
Aaws:PrincipalOrgID
Baws:SourceIp
Caws:RequestedRegion
Dec2:AvailabilityZone
✓ Correct: C. aws:RequestedRegion

How to think about it: Region lock = aws:RequestedRegion.

Why C is correct: A Deny when RequestedRegion is not in the approved list blocks API calls in other Regions; global services are usually exempted.

Why the others are wrong:
A) aws:PrincipalOrgID — This checks which organization the caller belongs to, not the Region.
B) aws:SourceIp — Source IP describes the caller's network, not the target Region.
D) ec2:AvailabilityZone — This key covers EC2 placement only, not every service's Region.
Organizations & SCPsFundamental
Q41.What is the effect of switching an organization from consolidated billing only to all features?
AOnly accounts created after the switch can use SCPs
BMember accounts lose volume discounts
CEach account gets its own invoice again
DSCPs and other policies become available; no switching back
✓ Correct: D. SCPs and other policies become available; no switching back

How to think about it: All features = SCPs and other policies; there is no going back.

Why D is correct: All features adds policy management, invited accounts must approve, and it is one-way.

Why the others are wrong:
A) Only accounts created after the switch can use SCPs — Existing accounts can use SCPs once they approve all features.
B) Member accounts lose volume discounts — Volume pricing is kept; all features includes consolidated billing.
C) Each account gets its own invoice again — Billing stays consolidated in the management account.
Organizations & SCPsFundamental
Q42.Account A in an organization bought EC2 Reserved Instances it does not fully use. Can Account B benefit?
AOnly if the RI is moved to Account B through AWS RAM
BNo, RIs only ever apply to the account that bought them
CYes, discounts are shared unless sharing is turned off
DOnly if both accounts are in the same OU
✓ Correct: C. Yes, discounts are shared unless sharing is turned off

How to think about it: Consolidated billing = RI and Savings Plans discounts are shared unless sharing is turned off.

Why C is correct: The organization is billed as one account, and the payer can disable sharing for specific accounts.

Why the others are wrong:
A) Only if the RI is moved to Account B through AWS RAM — RAM is not used to share RI discounts.
B) No, RIs only ever apply to the account that bought them — Inside an organization the discount is shared by default.
D) Only if both accounts are in the same OU — OU placement has no effect on RI sharing.
Organizations & SCPsFundamental
Q43.When a new member account is created through AWS Organizations, which role is created so the management account can administer it?
AAWSReservedSSO_AdministratorAccess
BOrganizationAccountAccessRole
CAWSControlTowerExecution
DAWSServiceRoleForOrganizations
✓ Correct: B. OrganizationAccountAccessRole

How to think about it: Admin into new member accounts = OrganizationAccountAccessRole.

Why B is correct: It grants full admin in the member account and is assumable from the management account; invited accounts need it created manually.

Why the others are wrong:
A) AWSReservedSSO_AdministratorAccess — This kind of role is created by IAM Identity Center permission sets.
C) AWSControlTowerExecution — This role is created by Control Tower when it enrolls an account.
D) AWSServiceRoleForOrganizations — This is the service-linked role used by Organizations itself, not for human admin access.
Organizations & SCPsFundamental
Q44.Which Organizations policy type standardises tag keys and allowed values across accounts and reports non-compliant resources?
AService control policies
BAI services opt-out policies
CTag policies
DBackup policies
✓ Correct: C. Tag policies

How to think about it: Consistent tags org-wide = tag policies.

Why C is correct: Tag policies define allowed keys, case and values, and can report or block non-compliant tagging.

Why the others are wrong:
A) Service control policies — SCPs can require a tag on create, but they do not define standard values or report compliance.
B) AI services opt-out policies — These control whether AWS AI services may store and use your content.
D) Backup policies — Backup policies push AWS Backup plans to accounts, not tag rules.
Organizations & SCPsFundamental
Q45.A company must stop AWS AI services such as Lex and Polly from storing or using its content for service improvement, in every account and Region. What should it use?
AAn SCP denying all AI service actions
BEncrypting the content with a customer managed KMS key
CA tag policy on AI resources
DAn AI services opt-out policy attached at the organization root
✓ Correct: D. An AI services opt-out policy attached at the organization root

How to think about it: Stop AI services learning from your data = AI services opt-out policy.

Why D is correct: It applies the opt-out to all or selected AI services across every member account and Region.

Why the others are wrong:
A) An SCP denying all AI service actions — This blocks use of the services entirely rather than just opting out of data use.
B) Encrypting the content with a customer managed KMS key — Encryption does not change the service's data-use setting.
C) A tag policy on AI resources — Tag policies control tags, not content usage.
Organizations & SCPsAdvanced
Q46.An auditor wants a single place to receive CloudTrail logs from every account, and no member account should be able to stop or delete that logging. What is the usual design?
ACloudWatch Logs subscription filters in each account
BAn organization trail to a log archive account, guarded by SCPs
CAWS Config aggregator in the management account
DA separate trail in each account writing to its own bucket
✓ Correct: B. An organization trail to a log archive account, guarded by SCPs

How to think about it: Central logs + tamper-proof = organization trail into a log archive account, protected by SCP.

Why B is correct: The org trail covers every account automatically, and the SCP prevents member accounts from disabling it.

Why the others are wrong:
A) CloudWatch Logs subscription filters in each account — This moves logs but leaves the trails under local control.
C) AWS Config aggregator in the management account — Config records resource configuration, not API activity logs.
D) A separate trail in each account writing to its own bucket — Logs stay scattered and local admins can delete them.
Identity CenterFundamental
Q47.In IAM Identity Center, what is a permission set?
AA service control policy attached to an OU
BA SAML signing certificate for a business application
CA policy bundle deployed as a role in each assigned account
DA group of users synced in from Active Directory
✓ Correct: C. A policy bundle deployed as a role in each assigned account

How to think about it: Permission set = policy template that becomes a role in each assigned account.

Why C is correct: Assigning a user or group plus a permission set to an account creates a matching role there.

Why the others are wrong:
A) A service control policy attached to an OU — SCPs are an Organizations feature, separate from Identity Center.
B) A SAML signing certificate for a business application — Certificates belong to application assignments, not permission sets.
D) A group of users synced in from Active Directory — Groups are identities; permission sets describe the access they get.
Identity CenterFundamental
Q48.Which identity sources can IAM Identity Center use?
AOnly IAM users that exist in the management account
BOnly Amazon Cognito user pools
COnly an on-premises AD reached through AD Connector
DBuilt-in store, Active Directory, or an external IdP like Okta
✓ Correct: D. Built-in store, Active Directory, or an external IdP like Okta

How to think about it: Identity source = built-in store, Active Directory, or an external IdP (Okta, Entra ID).

Why D is correct: You choose one source, and users and groups from it get account and app assignments.

Why the others are wrong:
A) Only IAM users that exist in the management account — IAM users are not an Identity Center identity source.
B) Only Amazon Cognito user pools — Cognito is for customer apps and is not an Identity Center source.
C) Only an on-premises AD reached through AD Connector — AD is one option, but the built-in store and external IdPs work too.
Identity CenterAdvanced
Q49.Database admins should get Aurora access only in accounts whose cost center matches theirs, without a separate permission set per cost center. What fits?
ACognito identity pools with role mapping
BAn SCP per cost center OU
CABAC on identity store attributes in one permission set
DA separate permission set for every cost center
✓ Correct: C. ABAC on identity store attributes in one permission set

How to think about it: Change access by changing user attributes = ABAC in Identity Center.

Why C is correct: Attributes such as cost center flow into the session as tags, and one policy compares them with resource tags.

Why the others are wrong:
A) Cognito identity pools with role mapping — Cognito is not used for workforce access to AWS accounts.
B) An SCP per cost center OU — SCPs restrict accounts, not individual users by attribute.
D) A separate permission set for every cost center — This works but is exactly the duplication the requirement wants to avoid.
Identity CenterFundamental
Q50.Besides AWS accounts, what else can IAM Identity Center give users single sign-on to?
ACustomer sign-in for public mobile apps
BAmazon RDS database logins for all engines
CSAML 2.0 business apps such as Salesforce
DAny on-premises mainframe terminal
✓ Correct: C. SAML 2.0 business apps such as Salesforce

How to think about it: Identity Center SSO = AWS accounts and SAML 2.0 business apps (Salesforce, Microsoft 365).

Why C is correct: Application assignments use SAML metadata so users reach cloud apps from the same portal.

Why the others are wrong:
A) Customer sign-in for public mobile apps — Customer app sign-in is Cognito's role.
B) Amazon RDS database logins for all engines — Database logins are not an Identity Center application assignment.
D) Any on-premises mainframe terminal — Identity Center does not provide terminal access to mainframes.
Identity CenterAdvanced
Q51.Two-way trust exists between on-premises AD and AWS Managed Microsoft AD. Employees should sign in to all accounts in the organization with their AD credentials. What connects the pieces?
ACreate a SAML provider in each account pointing at AWS Managed AD
BMake Managed AD the Identity Center identity source
CUse Simple AD as the identity source
DSync AD users into IAM users in each account
✓ Correct: B. Make Managed AD the Identity Center identity source

How to think about it: AD users into many accounts = Identity Center with Managed AD as identity source.

Why B is correct: Identity Center reads users and groups through the directory, and the trust lets on-premises users authenticate.

Why the others are wrong:
A) Create a SAML provider in each account pointing at AWS Managed AD — Managed AD is not a SAML IdP by itself, and per-account setup does not scale.
C) Use Simple AD as the identity source — Simple AD cannot trust the on-premises AD.
D) Sync AD users into IAM users in each account — This creates long-term IAM users, which federation is meant to avoid.
Control TowerFundamental
Q52.What does AWS Control Tower do?
ASets up and governs a multi-account landing zone
BMonitors application performance across accounts
CProvides single sign-on to SaaS applications only
DReplaces AWS Organizations with its own account model
✓ Correct: A. Sets up and governs a multi-account landing zone

How to think about it: Best-practice multi-account landing zone = Control Tower (built on Organizations).

Why A is correct: It creates the organization structure, shared log and audit accounts, and ongoing controls.

Why the others are wrong:
B) Monitors application performance across accounts — Application monitoring is CloudWatch's role.
C) Provides single sign-on to SaaS applications only — SSO is IAM Identity Center's job, which Control Tower configures as part of the setup.
D) Replaces AWS Organizations with its own account model — Control Tower runs on top of Organizations rather than replacing it.
Control TowerFundamental
Q53.In Control Tower, how are preventive and detective controls (formerly guardrails) implemented?
APreventive controls use AWS Config; detective controls use SCPs
BBoth use IAM permissions boundaries
CPreventive controls use SCPs; detective controls use AWS Config rules
DBoth use GuardDuty findings
✓ Correct: C. Preventive controls use SCPs; detective controls use AWS Config rules

How to think about it: Preventive = SCP. Detective = AWS Config rules.

Why C is correct: SCPs stop disallowed actions up front, while Config rules flag non-compliant resources afterwards.

Why the others are wrong:
A) Preventive controls use AWS Config; detective controls use SCPs — This reverses the two: SCPs cannot detect and Config cannot block API calls.
B) Both use IAM permissions boundaries — Boundaries limit individual identities, not whole accounts.
D) Both use GuardDuty findings — GuardDuty detects threats; it is not the control mechanism.
Control TowerFundamental
Q54.Which Control Tower feature creates new accounts with a pre-approved baseline such as network and Region settings?
AAWS Organizations tag policies
BAccount Factory
CAWS Resource Access Manager
DAWS Service Quotas templates
✓ Correct: B. Account Factory

How to think about it: Vending new accounts = Account Factory.

Why B is correct: Account Factory provisions accounts from approved templates and enrols them under the landing zone's controls.

Why the others are wrong:
A) AWS Organizations tag policies — Tag policies govern tags, not account creation.
C) AWS Resource Access Manager — RAM shares existing resources between accounts; it does not create accounts.
D) AWS Service Quotas templates — Quota templates set limits for new accounts but do not provision them.
Control TowerAdvanced
Q55.A Control Tower detective control flags untagged resources. The team wants them fixed automatically and admins notified. What is a typical design?
AEnable AWS Shield Advanced in each account
BOn NON_COMPLIANT, notify via SNS and fix tags with Lambda
CAttach a permissions boundary to every resource
DChange the detective control into a mandatory control
✓ Correct: B. On NON_COMPLIANT, notify via SNS and fix tags with Lambda

How to think about it: Detect with Config, then EventBridge/SNS + Lambda to remediate.

Why B is correct: Detective controls only report; an event-driven Lambda does the fixing.

Why the others are wrong:
A) Enable AWS Shield Advanced in each account — Shield is DDoS protection and has nothing to do with tags.
C) Attach a permissions boundary to every resource — Boundaries attach to IAM users and roles, not to resources.
D) Change the detective control into a mandatory control — Mandatory refers to control level, not to automatic remediation.
RAMFundamental
Q56.A networking account owns a VPC. Application accounts should launch instances into its subnets. What enables this?
AA Transit Gateway with a route to each account
BVPC peering between each account
CShare the subnets with AWS Resource Access Manager
DCross-account IAM roles to the networking account
✓ Correct: C. Share the subnets with AWS Resource Access Manager

How to think about it: Share subnets across accounts = RAM VPC sharing.

Why C is correct: Participants launch their own resources into the shared subnets while the owner keeps control of the VPC.

Why the others are wrong:
A) A Transit Gateway with a route to each account — Transit Gateway links VPCs but does not share subnets.
B) VPC peering between each account — Peering connects separate VPCs; it does not let others launch into your subnets.
D) Cross-account IAM roles to the networking account — Workloads would then live in the networking account, not their own.
RAMFundamental
Q57.In a shared VPC, what can a participant account do with resources another participant launched in the same subnet?
ATake ownership of them through RAM
BStop and terminate them
CReach them over the network, but not view or modify them
DNothing; traffic between participants is always blocked
✓ Correct: C. Reach them over the network, but not view or modify them

How to think about it: Shared VPC = shared network, not shared resources.

Why C is correct: Each account manages only its own resources, though traffic flows privately inside the VPC.

Why the others are wrong:
A) Take ownership of them through RAM — RAM does not transfer ownership of resources.
B) Stop and terminate them — Participants cannot change resources owned by other accounts.
D) Nothing; traffic between participants is always blocked — Resources in a shared VPC talk over private IPs like any VPC.
RAMFundamental
Q58.Which of these is a limitation of sharing VPC subnets with AWS RAM?
AParticipants must use the owner's IAM users
BShared subnets must be public subnets
COnly one subnet per VPC can be shared
DSharing works only within the same organization
✓ Correct: D. Sharing works only within the same organization

How to think about it: VPC sharing = same organization, and no default VPC subnets.

Why D is correct: Subnet sharing requires accounts in one organization, and default VPC subnets cannot be shared.

Why the others are wrong:
A) Participants must use the owner's IAM users — Participants use their own identities in their own accounts.
B) Shared subnets must be public subnets — Private and public subnets can both be shared.
C) Only one subnet per VPC can be shared — You can share many subnets from the same VPC.
RAMAdvanced
Q59.Dozens of security groups in many accounts allow SSH from the same set of corporate CIDRs, which change several times a year. What reduces the effort?
AA customer-managed prefix list shared through RAM
BA Lambda function that edits every security group
CA Network Firewall rule group in each account
DAn AWS-managed prefix list for corporate ranges
✓ Correct: A. A customer-managed prefix list shared through RAM

How to think about it: Same CIDRs in many SGs = customer-managed prefix list, shared with RAM.

Why A is correct: Update the prefix list once and every security group and route table that references it picks up the change.

Why the others are wrong:
B) A Lambda function that edits every security group — Custom automation works but is more effort than a shared prefix list.
C) A Network Firewall rule group in each account — This adds a firewall layer but does not update the security groups.
D) An AWS-managed prefix list for corporate ranges — AWS-managed lists cover AWS service ranges and cannot be edited by you.
RAMAdvanced
Q60.Many VPCs across accounts must forward queries for corp.example.com to on-premises DNS. Each account should not build its own outbound endpoint. What do you do?
ASet the DHCP option set in each VPC to the on-premises DNS
BPeer every VPC to the networking VPC and use its DNS
CCreate a private hosted zone for corp.example.com in each account
DShare Resolver forwarding rules from one account via RAM
✓ Correct: D. Share Resolver forwarding rules from one account via RAM

How to think about it: One outbound endpoint, many accounts = share Resolver rules with RAM.

Why D is correct: The rules use a central outbound endpoint, and other accounts accept the share and attach the rules to their VPCs.

Why the others are wrong:
A) Set the DHCP option set in each VPC to the on-premises DNS — This bypasses Route 53 Resolver and needs a reachable path from every VPC.
B) Peer every VPC to the networking VPC and use its DNS — Peering alone does not apply another VPC's Resolver rules.
C) Create a private hosted zone for corp.example.com in each account — A private zone answers locally; it does not forward to on-premises DNS.