Curated

Security, Compliance, and Governance 1 (2.1–2.4)

0 votes

Questions65

  1. Question 1

    Security, Compliance, and Governance

    A mobile application authenticates customers through an Amazon Cognito user pool and must let them upload directly to Amazon S3 using temporary AWS credentials. Which additional component should the architect configure?

    Show the answer

    Correct answerD. A Cognito identity pool with an authenticated IAM role

    AWhy not this: An API Gateway authorizer validates API requests but does not issue credentials for direct S3 uploads.

    BWhy not this: IAM Identity Center permission sets provide workforce account access, not this customer token exchange.

    CWhy not this: Custom OAuth scopes express application API permissions; they do not provide AWS credentials for S3 requests.

    DWhy this is right: An identity pool can accept user pool tokens and obtain temporary AWS credentials for an authenticated IAM role.

    A Cognito identity pool exchanges supported identity tokens for temporary AWS credentials associated with IAM roles. A user pool resource server defines OAuth scopes but does not issue AWS credentials for direct S3 access.

    Open this question
  2. Question 2

    Security, Compliance, and Governance

    An enterprise requires one organization instance of IAM Identity Center and one AWS access portal, but two divisions must retain their separate workforce identity providers and MFA policies. Which architecture meets these constraints without migrating users to a shared directory?

    Show the answer

    Correct answerA. Configure a federation broker as the external identity source and federate both divisions through it.

    AWhy this is right: A broker presents one external identity source while routing authentication to the existing divisional providers.

    BWhy not this: IAM SAML providers support direct IAM federation but do not populate the IAM Identity Center access portal.

    CWhy not this: One IAM Identity Center instance cannot simultaneously use two independent external identity sources.

    DWhy not this: An instance cannot simultaneously use its Identity Center directory and an external identity source.

    An IAM Identity Center instance has one identity source. A federation broker can present a single SAML integration while delegating authentication to the divisional providers; separate IAM SAML providers do not become access-portal identity sources.

    Open this question
  3. Question 3

    Security, Compliance, and Governance

    Employees already sign in to AWS IAM Identity Center through an external identity provider using SAML 2.0. Which integration should automate provisioning of users and group memberships from that provider?

    Show the answer

    Correct answerA. A SCIM provisioning connection

    AWhy this is right: SCIM provides automated provisioning of users and group memberships from a supported external identity provider.

    BWhy not this: Permission sets define AWS account permissions; they do not synchronize users or group memberships.

    CWhy not this: OpenID Connect supports authentication and identity claims, not IAM Identity Center user and group provisioning.

    DWhy not this: IAM Roles Anywhere authenticates workloads using X.509 certificates rather than provisioning workforce identities.

    SCIM synchronizes users and group memberships from an external identity provider into IAM Identity Center. OpenID Connect supports authentication, not this directory provisioning workflow.

    Open this question
  4. Question 4

    Security, Compliance, and Governance

    A legacy workforce portal issues signed SAML 2.0 assertions for direct federation into an AWS account without IAM Identity Center. Which design lets employees obtain temporary AWS credentials using those assertions?

    Show the answer

    Correct answerD. Create an IAM SAML provider and use AssumeRoleWithSAML.

    AWhy not this: Roles Anywhere requires X.509 certificates, not assertions issued by a SAML identity provider.

    BWhy not this: AssumeRoleWithWebIdentity consumes supported web identity tokens rather than SAML assertions.

    CWhy not this: An external ID addresses confused-deputy risks in role assumption; it does not authenticate a SAML assertion.

    DWhy this is right: An IAM SAML provider establishes federation trust, and AssumeRoleWithSAML exchanges valid assertions for temporary credentials.

    Direct SAML federation uses an IAM SAML provider and a role that trusts it, with AWS STS AssumeRoleWithSAML issuing temporary credentials. AssumeRoleWithWebIdentity accepts supported web identity tokens, not SAML assertions.

    Open this question
  5. Question 5

    Security, Compliance, and Governance

    An Amazon EKS application in account A uses EKS Pod Identity and must access a resource in account B through an IAM role owned by account B. Which role arrangement supports this requirement?

    Show the answer

    Correct answerB. Associate a role in account A, then assume the role in account B.

    AWhy not this: An IAM role is not an OIDC identity provider, and Pod Identity does not require an IAM OIDC provider.

    BWhy this is right: A same-account association supplies the initial identity, which can assume a trusted target role in another account.

    CWhy not this: The agent's node credentials are not the application's Pod Identity role, and this does not establish cross-account pod access.

    DWhy not this: The role in a Pod Identity association must belong to the same AWS account as the cluster.

    An EKS Pod Identity association uses a role in the cluster's account. For cross-account access, the association can also name a target role in account B (targetRoleArn); EKS assumes the source role and then chains to the target role, which must trust the source role. Associating the service account directly with only a role in another account is not supported.

    Open this question
  6. Question 6

    Security, Compliance, and Governance

    An internal Application Load Balancer serves a private DNS namespace to company-managed clients. The company requires TLS 1.3, certificates from its private hierarchy, and managed certificate renewal; which design meets these requirements?

    Show the answer

    Correct answerA. Use an ACM-issued AWS Private CA certificate, a TLS 1.3 ALB policy, and client trust in the private CA.

    AWhy this is right: This combines managed private certificate renewal, TLS 1.3 listener support, and client certificate trust.

    BWhy not this: A public certificate does not satisfy the private-hierarchy requirement or support an internal-only namespace.

    CWhy not this: ACM does not provide managed renewal for imported certificates.

    DWhy not this: The ALB needs a server certificate, and clients need the CA certificate rather than its private key.

    ACM can manage renewal of eligible private certificates issued through AWS Private CA and associated with an ALB. Clients must trust the private CA, and the listener needs a TLS 1.3 policy; imported certificates do not receive ACM-managed renewal.

    Open this question
  7. Question 7

    Security, Compliance, and Governance

    An S3 bucket contains objects encrypted with SSE-S3. A company requires existing and future objects to use a customer managed KMS key whose key material rotates automatically every 180 days. Which actions meet these requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Configure bucket default encryption to use SSE-KMS with the customer managed key.C. Use S3 Batch Operations to copy existing objects with the required SSE-KMS encryption.D. Enable automatic rotation with a 180-day period on the symmetric customer managed key.

    AWhy not this: S3 Bucket Keys reduce KMS request traffic; they do not configure KMS key material rotation.

    BWhy this is right: Bucket default SSE-KMS encryption applies the selected customer managed key to future uploads that use the default.

    CWhy this is right: Copying existing objects with SSE-KMS changes their encryption from SSE-S3 to the required customer managed key.

    DWhy this is right: A symmetric encryption KMS key with AWS-generated material supports automatic rotation every 180 days.

    EWhy not this: Replacing keys and moving an alias is manual key rotation, not automatic rotation of the selected KMS key.

    FWhy not this: Changing bucket default encryption does not change the encryption of existing objects.

    Default encryption covers future uploads, automatic KMS rotation changes key material on schedule, and copying existing objects changes their encryption. Changing bucket defaults alone does not re-encrypt existing objects.

    Open this question
  8. Question 8

    Security, Compliance, and Governance

    An administrator accidentally disables the customer managed KMS key used for an application's encrypted records. Decryption requests to AWS KMS now fail. Which action restores access without changing the stored ciphertext?

    Show the answer

    Correct answerB. Re-enable the original customer managed key.

    AWhy not this: Automatic rotation does not make a disabled key available for cryptographic operations.

    BWhy this is right: Re-enabling the original key restores access to the key material needed to decrypt the records.

    CWhy not this: A new key has different key material; reusing an alias does not restore decryption of existing ciphertext.

    DWhy not this: TLS certificates protect connections, not records encrypted under the disabled KMS key.

    Disabling a KMS key prevents cryptographic operations but does not delete its key material, so re-enabling it restores decryption. A replacement key cannot decrypt the original ciphertext merely because it has the same alias.

    Open this question
  9. Question 9

    Security, Compliance, and Governance

    Objects in an S3 bucket are encrypted with a symmetric AWS KMS customer managed key. A new compliance rule requires the key material used for new encryption to change every 180 days. Existing objects must stay readable without application changes, and the team wants the least operational effort. What should the architect do?

    Show the answer

    Correct answerA. Enable automatic rotation on the key with a 180-day rotation period, and leave existing objects as they are.

    AWhy this is right: KMS creates new key material on schedule, uses it for new encryption, and keeps earlier material to decrypt existing objects under the same key ID.

    BWhy not this: This meets the rule, but creating keys and re-encrypting every object is work that automatic rotation avoids.

    CWhy not this: Objects encrypted under the old key become unreadable once that key is deleted.

    DWhy not this: Rotation keeps earlier key material for decryption, so re-encrypting existing objects adds cost and effort without meeting any requirement.

    Automatic rotation of a symmetric customer managed key can use a rotation period from 90 to 2,560 days. Each rotation creates new key material for new encryption, while KMS keeps all earlier material so existing ciphertext still decrypts under the same key ID and ARN; nothing needs re-encrypting and no application change is needed.

    Open this question
  10. Question 10

    Security, Compliance, and Governance

    A company uses AWS Control Tower and needs a repeatable way to provision new accounts with its landing zone baseline in designated OUs. Which capability should the company use?

    Show the answer

    Correct answerA. AWS Control Tower Account Factory

    AWhy this is right: Account Factory provides standardized account provisioning within an AWS Control Tower landing zone.

    BWhy not this: Conformance packs deploy compliance checks and remediation configurations rather than provision accounts.

    CWhy not this: Resource shares provide access to supported resources across accounts rather than create accounts.

    DWhy not this: Organization trails collect API activity across accounts rather than provision accounts.

    AWS Control Tower Account Factory provisions accounts within the landing zone with standardized governance. AWS Config organization conformance packs deploy compliance rules and remediation configurations, not new accounts.

    Open this question
  11. Question 11

    Security, Compliance, and Governance

    A company applies an optional AWS Control Tower preventive control to its Workloads OU, which contains production and development accounts. Development needs an exception, while production must retain the control and all accounts must remain governed by the landing zone. Which organizational design meets these requirements?

    Show the answer

    Correct answerD. Create sibling Production and Development OUs and enable the control only on Production.

    AWhy not this: The management account is not an appropriate destination for development workloads or a substitute for OU design.

    BWhy not this: IAM permissions cannot override restrictions imposed by an inherited preventive control.

    CWhy not this: A nested Development OU would still inherit the preventive control from Workloads.

    DWhy this is right: Sibling OUs separate control scope while keeping both environments within the governed organization.

    Sibling OUs allow the optional control to apply to production without applying to development, while both remain governed. A child OU cannot override a preventive control inherited from its parent.

    Open this question
  12. Question 12

    Security, Compliance, and Governance

    An organization centrally retains CloudTrail activity but also needs request and response bodies for supported Amazon Bedrock model invocations across its workload accounts. Which additional configuration should a solutions architect implement?

    Show the answer

    Correct answerB. Enable Bedrock model invocation logging in each relevant account and Region, then consolidate the logs.

    AWhy not this: GuardDuty produces security findings, not a complete record of model request and response bodies.

    BWhy this is right: Model invocation logging captures supported request and response bodies; account and Regional coverage must be configured.

    CWhy not this: CloudTrail activity records do not provide the required model request and response body logging.

    DWhy not this: AWS Config records resource configurations, not model invocation inputs and outputs.

    Amazon Bedrock model invocation logging captures supported invocation request and response data and is configured per account and Region. CloudTrail records API activity but does not replace invocation logging for model input and output bodies.

    Open this question
  13. Question 13

    Security, Compliance, and Governance

    A platform team deploys resources exclusively through AWS CloudFormation in AWS Control Tower member accounts. It needs supported resource configurations checked against controls before provisioning, rather than evaluated after creation. Which approach should the team choose?

    Show the answer

    Correct answerC. Enable proactive controls backed by CloudFormation hooks.

    AWhy not this: Conformance packs evaluate compliance and can remediate resources after deployment.

    BWhy not this: Detective controls evaluate deployed resources and report noncompliance after provisioning.

    CWhy this is right: Proactive controls evaluate supported resource configurations through CloudFormation hooks before provisioning.

    DWhy not this: SCP-based controls restrict actions but do not provide the requested CloudFormation resource-configuration checks.

    Proactive controls use CloudFormation hooks to check supported resources before provisioning. Preventive SCP-based controls restrict API actions and permissions rather than perform these template resource-configuration checks.

    Open this question
  14. Question 14

    Security, Compliance, and Governance

    An application stores its Amazon RDS database password in an encrypted configuration file. Security requires automatic password rotation and retrieval without deploying a new application version. Which solution best meets these requirements?

    Show the answer

    Correct answerA. Store the password in AWS Secrets Manager, configure RDS rotation, and retrieve it at runtime.

    AWhy this is right: Secrets Manager supports RDS credential rotation and lets applications retrieve current credentials without redeployment.

    BWhy not this: A KMS alias identifies a KMS key; it is not a storage location for an application password.

    CWhy not this: S3 versioning preserves file versions but does not rotate credentials in the database.

    DWhy not this: SecureString provides encrypted storage, but it does not itself update and rotate the database password.

    AWS Secrets Manager supports automatic rotation of supported RDS credentials and runtime retrieval. A Parameter Store SecureString encrypts a value but does not itself rotate the database password.

    Open this question
  15. Question 15

    Security, Compliance, and Governance

    An S3 bucket policy must reject any request that does not use HTTPS, and must reject any upload that is not encrypted with one specific customer managed AWS KMS key. Which bucket policy statements meet both requirements?

    Show the answer

    Correct answerB. Deny s3:* when aws:SecureTransport is false, and deny s3:PutObject when s3:x-amz-server-side-encryption-aws-kms-key-id is not the key's ARN.

    AWhy not this: Allow statements do not stop requests that other policies allow, and the encryption header check accepts any KMS key.

    BWhy this is right: Explicit denies override any allow, and the key-ID condition rejects uploads that name another key or no key.

    CWhy not this: This enforces HTTPS and SSE-KMS but still accepts uploads encrypted with any other KMS key.

    DWhy not this: Plain HTTP requests carry no TLS version, so the deny never matches them, and default encryption does not stop a request that names a different key.

    Explicit deny statements override any allow. Denying all S3 actions when aws:SecureTransport is false blocks plain HTTP, and denying s3:PutObject when s3:x-amz-server-side-encryption-aws-kms-key-id does not equal the key's ARN rejects uploads that use another key or omit the header, so clients must name the required key. Checking only s3:x-amz-server-side-encryption accepts any KMS key.

    Open this question
  16. Question 16

    Security, Compliance, and Governance

    An S3 bucket in one AWS account contains objects encrypted with the AWS managed key aws/s3. A role in another account has permission to read the objects, but requests fail during decryption. Which change enables direct cross-account reads while retaining server-side encryption?

    Show the answer

    Correct answerB. Re-encrypt with a customer managed KMS key and authorize the role in both accounts.

    AWhy not this: AWS manages the aws/s3 key policy; customers cannot edit it to grant cross-account access.

    BWhy this is right: A customer managed key supports cross-account authorization through its key policy and the external role's IAM permissions.

    CWhy not this: Moving objects to another Region does not remove the cross-account restriction of the aws/s3 managed key.

    DWhy not this: An S3 ACL does not grant permission to decrypt objects with AWS KMS.

    Cross-account SSE-KMS access requires a customer managed key, a permitting key policy, and permissions for the external role. The aws/s3 key policy cannot be edited to authorize cross-account access.

    Open this question
  17. Question 17

    Security, Compliance, and Governance

    An existing versioned S3 bucket contains records that must resist permanent deletion by any user, including the root user, for seven years; authorized users may extend but not shorten retention. Existing versions need protection now, and future versions need automatic protection. Which design meets these requirements?

    Show the answer

    Correct answerC. Enable Object Lock with default compliance retention; use S3 Batch Operations to apply compliance retention to existing versions.

    AWhy not this: A bucket's default retention does not retroactively protect object versions that already exist.

    BWhy not this: Users with bypass permissions can bypass governance retention, so it does not meet the root-user protection requirement.

    CWhy this is right: Compliance mode supplies non-bypassable retention; default retention covers future versions and Batch Operations covers existing versions.

    DWhy not this: An authorized user can remove a legal hold; it does not enforce a non-shortenable seven-year retention period.

    Compliance-mode retention prevents permanent deletion and retention shortening even by the root user, while allowing extensions. Default retention protects new versions only, so existing versions require explicit retention, such as through S3 Batch Operations.

    Open this question
  18. Question 18

    Security, Compliance, and Governance

    A SaaS provider uses one IAM role to assume customer-owned roles, and customers can submit target role ARNs to the provider. Which customer trust-policy design prevents another customer from directing the provider to assume the wrong customer's role?

    Show the answer

    Correct answerA. Trust the provider role and require its provider-assigned, customer-specific external ID

    AWhy this is right: The provider supplies the intended customer's unique external ID, preventing another customer from reusing only that customer's role ARN.

    BWhy not this: A customer-chosen session name does not securely bind the provider's request to the intended customer.

    CWhy not this: A shorter session reduces credential lifetime but does not prevent assumption of the wrong customer's role.

    DWhy not this: The provider's organization identifies the provider, not the customer on whose behalf it is acting.

    A provider-assigned external ID uniquely associates the assumption request with the intended customer, mitigating the confused deputy problem. A role session name identifies a session but does not establish that customer association.

    Open this question
  19. Question 19

    Security, Compliance, and Governance

    A backend service must obtain access tokens from Amazon Cognito to call an API without a signed-in user. Which design supports API-specific permissions?

    Show the answer

    Correct answerD. A user pool using client credentials and custom scopes

    AWhy not this: An identity pool supplies temporary AWS credentials rather than OAuth access tokens with API-specific scopes.

    BWhy not this: The authorization code grant involves user authorization rather than service-only authentication.

    CWhy not this: Developer-authenticated identities provide AWS credentials through an identity pool, not scoped OAuth access tokens.

    DWhy this is right: Client credentials enables service-only authorization, and custom scopes represent permissions for the API.

    The client credentials grant supports machine-to-machine authorization, with custom scopes representing API permissions. The authorization code grant involves user authorization and is not the appropriate grant for an unattended service.

    Open this question
  20. Question 20

    Security, Compliance, and Governance

    An S3 bucket policy grants DeleteObject directly to a same-account IAM role session ARN, while the role's permissions boundary omits that action. With no other applicable denies, which change blocks deletion without editing the bucket policy or removing the role's read access?

    Show the answer

    Correct answerD. Add a DeleteObject explicit deny to the boundary

    AWhy not this: An allow-only session policy creates an implicit deny for deletion, which does not restrict this direct role-session grant.

    BWhy not this: An allow-only boundary still relies on an implicit deny, which does not override this direct role-session grant.

    CWhy not this: Removing identity-policy allows leaves an implicit deny, which does not override this direct role-session grant.

    DWhy this is right: An explicit deny overrides the resource-policy allow while leaving permitted read operations unaffected.

    An explicit deny in the permissions boundary overrides the bucket policy's allow. A same-account resource-policy grant directly to a role session ARN is not restricted by an implicit deny in identity policies, permissions boundaries, or session policies.

    Open this question
  21. Question 21

    Security, Compliance, and Governance

    A security team must identify supported resource policies that allow access from outside its AWS organization, while treating cross-account sharing within the organization as trusted. Which configuration meets this requirement?

    Show the answer

    Correct answerB. An organization-level IAM Access Analyzer external access analyzer

    AWhy not this: Endpoint policies control requests through endpoints; they do not analyze resource policies for external access.

    BWhy this is right: An organization-level zone of trust distinguishes external sharing from trusted sharing among member accounts.

    CWhy not this: An account-level zone of trust also treats other accounts within the organization as external.

    DWhy not this: Verified Access controls application access using identity and device context, not organization-wide resource-policy analysis.

    An organization-level external access analyzer uses the organization as its zone of trust and identifies supported resources shared outside it. An account-level analyzer treats other accounts as external, including accounts in the same organization.

    Open this question
  22. Question 22

    Security, Compliance, and Governance

    Which access-control model grants permissions by matching a principal's project tag with a resource's project tag?

    Show the answer

    Correct answerA. Attribute-based access control

    AWhy this is right: Matching principal and resource tags is an attribute-based access-control pattern.

    BWhy not this: Role-based access control groups permissions by assigned role rather than matching principal and resource attributes.

    CWhy not this: A permissions boundary limits identity permissions; it is not the model defined by matching project attributes.

    DWhy not this: External IDs help secure third-party role assumption rather than match principals to tagged resources.

    Attribute-based access control uses attributes, such as principal and resource tags, to determine access. Role-based access control instead organizes permissions around roles assigned to identities.

    Open this question
  23. Question 23

    Security, Compliance, and Governance

    A regulated application must retain its PKCS #11 integration and perform signing with nonextractable keys in hardware dedicated to the company. Which design meets these requirements?

    Show the answer

    Correct answerC. Use the AWS CloudHSM PKCS #11 library with a CloudHSM cluster.

    AWhy not this: A KMS signing key requires KMS API integration and does not provide customer-dedicated HSMs.

    BWhy not this: Issuing certificates does not provide the application's required PKCS #11 signing interface.

    CWhy this is right: CloudHSM supports PKCS #11 signing with nonextractable keys inside customer-dedicated HSMs.

    DWhy not this: A KMS custom key store exposes KMS APIs and supports symmetric encryption keys, not direct PKCS #11 signing.

    CloudHSM supports direct PKCS #11 integration and nonextractable signing keys in dedicated HSMs. A KMS custom key store uses CloudHSM hardware but exposes KMS operations, not the application's existing PKCS #11 signing interface.

    Open this question
  24. Question 24

    Security, Compliance, and Governance

    A company is adding a custom HTTPS domain to an Amazon CloudFront distribution. Its existing ACM certificate is in eu-west-1; what should the architect do to configure the viewer certificate?

    Show the answer

    Correct answerD. Request an ACM certificate for the domain in us-east-1.

    AWhy not this: An ARN identifies a certificate; it is not the certificate and private-key material required for import.

    BWhy not this: KMS multi-Region keys do not replicate ACM certificates between Regions.

    CWhy not this: CloudFront cannot use an ACM viewer certificate located in eu-west-1.

    DWhy this is right: CloudFront uses ACM certificates from us-east-1 for custom-domain viewer HTTPS.

    CloudFront requires an ACM viewer certificate in us-east-1, regardless of the origin's Region. An ACM certificate in eu-west-1 cannot be attached directly, and importing a certificate requires certificate material rather than an ARN.

    Open this question
  25. Question 25

    Security, Compliance, and Governance

    Which AWS service provisions publicly trusted TLS certificates for an Application Load Balancer and manages their renewal?

    Show the answer

    Correct answerD. AWS Certificate Manager

    AWhy not this: CloudHSM provides dedicated hardware for cryptographic operations, not managed public certificate issuance.

    BWhy not this: AWS KMS manages cryptographic keys, not publicly trusted TLS certificate issuance and renewal.

    CWhy not this: AWS Private CA issues certificates for private trust hierarchies, not publicly trusted server certificates.

    DWhy this is right: ACM provisions public TLS certificates and manages renewal when its eligibility requirements remain satisfied.

    AWS Certificate Manager provisions publicly trusted TLS certificates and manages renewal for eligible certificates attached to supported services. AWS Private CA issues private certificates, which public browsers do not trust by default.

    Open this question
  26. Question 26

    Security, Compliance, and Governance

    A company requires S3 SSE-KMS keys in customer-dedicated HSMs, continued operation after one Availability Zone fails, and annual replacement of the key used for new writes. Which design meets these requirements with the least application change?

    Show the answer

    Correct answerA. Use a CloudHSM-backed KMS custom key store with HSMs across Availability Zones; create a replacement KMS key annually and update the bucket configuration.

    AWhy this is right: This preserves SSE-KMS, provides dedicated multi-AZ hardware, and replaces the key for new writes without application encryption changes.

    BWhy not this: Automatic key rotation is not supported for KMS keys in CloudHSM-backed custom key stores.

    CWhy not this: Client-side encryption changes the application and does not preserve the required SSE-KMS encryption design.

    DWhy not this: An unrelated CloudHSM cluster does not place a standard KMS key's material in customer-dedicated HSMs.

    A CloudHSM-backed KMS custom key store preserves SSE-KMS integration and uses dedicated HSMs; distributing HSMs across Availability Zones provides resilience. These KMS keys do not support automatic rotation, so annual replacement requires a new key and an updated bucket encryption configuration.

    Open this question
  27. Question 27

    Security, Compliance, and Governance

    A network account must share a transit gateway with all current and future accounts in a designated OU without requiring resource-sharing invitations. Which actions meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Create an AWS RAM resource share with the transit gateway and the OU as principal.C. Enable sharing with AWS Organizations through AWS RAM in the management account.

    AWhy this is right: An OU principal extends the resource share to accounts in that OU, including accounts added later.

    BWhy not this: Individual account principals cover only the listed accounts, not future accounts added to the OU.

    CWhy this is right: AWS RAM integration with Organizations enables sharing with organizational principals without invitations.

    DWhy not this: SCPs set permission boundaries; they do not grant access or establish a resource share.

    Enabling AWS RAM integration with Organizations permits invitation-free sharing within the organization. Sharing with the OU covers its current and future accounts; listing individual accounts does not automatically cover future OU members.

    Open this question
  28. Question 28

    Security, Compliance, and Governance

    Which service centralizes supported AWS security logs across accounts and normalizes them into the Open Cybersecurity Schema Framework?

    Show the answer

    Correct answerC. Amazon Security Lake

    AWhy not this: Security Hub CSPM centralizes security findings and posture checks, not an OCSF-normalized security log lake.

    BWhy not this: GuardDuty analyzes data sources to detect threats; it is not the service for building an OCSF-normalized log lake.

    CWhy this is right: Security Lake centralizes supported security logs and normalizes the data into OCSF.

    DWhy not this: CloudWatch Logs stores and processes logs but does not provide Security Lake's OCSF-normalized security data lake.

    Amazon Security Lake centralizes supported security data and normalizes it into the Open Cybersecurity Schema Framework (OCSF). Security Hub CSPM aggregates security findings rather than serving as an OCSF-normalized security log lake.

    Open this question
  29. Question 29

    Security, Compliance, and Governance

    A network account shares a transit gateway through AWS RAM with workload accounts that create VPC attachments. The network team must control which attachments can communicate without allowing workload administrators to change transit gateway routing. Which design meets this requirement?

    Show the answer

    Correct answerA. Manage transit gateway route tables centrally and control attachment associations and propagation.

    AWhy this is right: The owner can centrally isolate attachments by controlling route-table associations, propagation, and routes.

    BWhy not this: Workload-controlled VPC routes do not provide the required centrally enforced transit gateway segmentation.

    CWhy not this: Transit gateway route tables are not independently shared through AWS RAM to delegate their administration.

    DWhy not this: Sharing a transit gateway does not grant participants permission to administer its route tables.

    The transit gateway owner manages its route tables, attachment associations, and propagation, enabling centralized segmentation. Sharing a transit gateway lets participants attach VPCs but does not delegate transit gateway route-table administration.

    Open this question
  30. Question 30

    Security, Compliance, and Governance

    A network account shares subnets through AWS RAM with a workload OU, and one participant must lose the ability to launch resources into those subnets while its existing EC2 instances continue running during migration. The network account must retain routing ownership and other participants must retain access; which action meets these requirements?

    Show the answer

    Correct answerA. Move the participant to an unshared OU and retain the subnets until its resources are removed.

    AWhy this is right: Losing OU-based sharing prevents new resource creation while existing resources continue operating under the original VPC owner.

    BWhy not this: Removing the subnets from the share also removes access for the other participants.

    CWhy not this: Subnets containing participant resources cannot simply be deleted, and changing security groups does not change subnet placement.

    DWhy not this: AWS RAM subnet sharing does not transfer VPC ownership to a participant.

    When an account loses access to shared subnets, it cannot create new resources in them, but its existing resources continue running. Moving only that account outside the shared OU preserves other participants' access and the network account's VPC ownership.

    Open this question
  31. Question 31

    Security, Compliance, and Governance

    An organization records resource configurations and evaluates AWS Config rules in every workload account and Region. A central team needs a queryable view of resource configurations and compliance results without permission to modify source resources. Which approach best meets these requirements?

    Show the answer

    Correct answerC. Create an organization AWS Config aggregator in the central account.

    AWhy not this: An organization trail centralizes API activity records, not AWS Config resource configurations and compliance results.

    BWhy not this: Conformance packs deploy rules and remediation configurations; they do not provide the requested read-only aggregate view.

    CWhy this is right: An organization aggregator collects recorded configurations and compliance results without granting source-resource modification access.

    DWhy not this: Finding aggregation centralizes security findings rather than providing the requested AWS Config configuration inventory.

    An organization AWS Config aggregator provides a read-only, cross-account and cross-Region view of recorded configurations and compliance results. Security Hub CSPM aggregates security findings, not the underlying resource configuration inventory.

    Open this question
  32. Question 32

    Security, Compliance, and Governance

    A regulator requires encryption key material to remain in an institution's on-premises HSMs, with the institution able to deny cryptographic operations independently of AWS. The workload supports AWS KMS external key stores; which design satisfies the requirement?

    Show the answer

    Correct answerD. Use a KMS external key store backed by the institution's HSMs.

    AWhy not this: Importing key material places a copy in AWS KMS, violating the on-premises-only requirement.

    BWhy not this: AWS CloudHSM stores key material in AWS-hosted HSMs rather than the required on-premises HSMs.

    CWhy not this: Key policies control authorization but do not keep key material in the institution's on-premises HSMs.

    DWhy this is right: The key material remains in the external HSMs, where the institution can independently deny cryptographic operations.

    A KMS external key store keeps key material in an external key manager and allows the institution to deny operations outside AWS. A CloudHSM custom key store keeps material in AWS CloudHSM, not in the institution's on-premises HSMs.

    Open this question
  33. Question 33

    Security, Compliance, and Governance

    A regulated application must process inference inputs only in Germany and currently invokes Amazon Bedrock through a cross-Region inference profile from Frankfurt. The required model supports direct invocation in Frankfurt; which change meets the processing restriction?

    Show the answer

    Correct answerD. Invoke the model directly in the Frankfurt Region.

    AWhy not this: Encryption with a Regional key does not constrain where the inference profile processes inputs.

    BWhy not this: A local interface endpoint does not prevent the inference profile from routing processing to another Region.

    CWhy not this: The location of invocation logs does not determine the location of inference processing.

    DWhy this is right: Direct invocation of the model in Frankfurt meets the Germany-only processing requirement.

    Direct Regional invocation keeps model processing in the selected Region. A Frankfurt interface endpoint provides private connectivity but does not restrict the destination Regions used by a cross-Region inference profile.

    Open this question
  34. Question 34

    Security, Compliance, and Governance

    Which service records the identity, time, and source IP address associated with an IAM policy change for an audit?

    Show the answer

    Correct answerB. AWS CloudTrail

    AWhy not this: AWS Artifact provides compliance reports and agreements, not records of customer IAM changes.

    BWhy this is right: CloudTrail records IAM API activity with identity, timestamp, and source information.

    CWhy not this: CloudWatch provides monitoring and log storage but does not originate IAM API activity audit records.

    DWhy not this: AWS Config records resource configurations, not the API activity trail identifying the caller and source IP address.

    AWS CloudTrail records API activity, including caller identity, event time, and source IP address. AWS Config tracks supported resource configurations and changes rather than providing the API activity audit trail.

    Open this question
  35. Question 35

    Security, Compliance, and Governance

    Auditors need the full prompts and responses from supported Amazon Bedrock model invocations, but existing CloudTrail records contain only API activity metadata. Which change supplies the missing audit content?

    Show the answer

    Correct answerC. Enable Bedrock model invocation logging to an S3 bucket.

    AWhy not this: Configuration recording captures resource state rather than model prompts and responses.

    BWhy not this: Invocation metrics provide aggregate measurements, not the full prompts and responses.

    CWhy this is right: Model invocation logging captures supported request and response content for audit review.

    DWhy not this: Integrity validation helps detect log file alteration but does not capture additional invocation content.

    Bedrock model invocation logging can capture supported model request and response content in Amazon S3. CloudTrail log file integrity validation detects changes to delivered log files; it does not add prompts or responses to them.

    Open this question
  36. Question 36

    Security, Compliance, and Governance

    A German regulator requires an application's database and backups to remain in Germany. The application must survive an Availability Zone failure; which design meets these requirements?

    Show the answer

    Correct answerA. Use RDS Multi-AZ in Frankfurt with backups retained in Frankfurt.

    AWhy this is right: The database spans Availability Zones within Frankfurt, and backups remain in the same German Region.

    BWhy not this: The standby and backups in Paris violate the location requirement despite encryption.

    CWhy not this: The primary database in Ireland violates the requirement, even if backup copies are stored in Frankfurt.

    DWhy not this: The replica and backup copies in Ireland would place regulated data outside Germany.

    RDS Multi-AZ provides Availability Zone resilience within the Frankfurt Region, while local backups satisfy the country restriction. Encryption does not make storage in another country compliant with a location requirement.

    Open this question
  37. Question 37

    Security, Compliance, and Governance

    Two on-premises applications use IAM Roles Anywhere certificates issued by the same trusted CA and need separate IAM roles. Both can discover all profile ARNs; how should the architect prevent either application from obtaining the other's role credentials?

    Show the answer

    Correct answerA. Condition each role's trust policy on its application's mapped certificate subject attributes.

    AWhy this is right: Conditions on mapped certificate attributes bind each role to the intended application's certificate identity.

    BWhy not this: Session policies limit resulting permissions but do not establish which certificate identity may assume the role.

    CWhy not this: Permissions boundaries limit role permissions, not which certificate-bearing workload can obtain the role.

    DWhy not this: External IDs address delegated role assumption, not certificate identity binding in IAM Roles Anywhere.

    Role trust policies can use mapped X.509 certificate attributes to restrict which workload may obtain a role's credentials. Profile session policies restrict permissions after authentication; they do not bind a certificate identity to its intended role.

    Open this question
  38. Question 38

    Security, Compliance, and Governance

    On-premises servers get temporary AWS credentials through IAM Roles Anywhere, using certificates issued by the company's own certificate authority, which is registered as a trust anchor. One server's private key has been stolen. That server's certificate must no longer obtain new credentials, and every other server that uses the same CA and profile must keep working. What should the architect do?

    Show the answer

    Correct answerC. Import a certificate revocation list that contains the certificate's serial number into Roles Anywhere.

    AWhy not this: Disabling the trust anchor stops credential issuance for every server whose certificate chains to that CA.

    BWhy not this: Every server that uses the profile loses access to the role, not only the compromised one.

    CWhy this is right: Roles Anywhere checks an imported, enabled CRL before issuing credentials, so only the revoked certificate is refused.

    DWhy not this: Revoking sessions invalidates credentials issued before that moment, but the stolen certificate can still request new ones.

    IAM Roles Anywhere validates a certificate against its trust anchor and against any imported, enabled certificate revocation list (CRL) before it issues credentials. Importing a CRL that lists the stolen certificate blocks only that certificate. Credentials already issued stay valid until they expire, so revoking the role's older sessions can be added, but on its own it does not stop new requests.

    Open this question
  39. Question 39

    Security, Compliance, and Governance

    Workloads use an S3 gateway endpoint to access buckets owned by their AWS organization. Even if a workload's IAM permissions expand, requests through this endpoint must not reach buckets owned outside the organization. Which control meets this requirement?

    Show the answer

    Correct answerB. Restrict the endpoint policy using aws:ResourceOrgID.

    AWhy not this: Policies on organization-owned buckets cannot restrict requests to buckets owned by other organizations.

    BWhy this is right: aws:ResourceOrgID identifies the resource owner's organization and can restrict destination buckets.

    CWhy not this: aws:PrincipalOrgID identifies the caller's organization, not the destination bucket owner's organization.

    DWhy not this: A gateway endpoint has no IAM role to which a permissions boundary can be attached.

    An endpoint policy using aws:ResourceOrgID can restrict requests through that endpoint to resources owned by the organization. aws:PrincipalOrgID checks the caller's organization, so it does not prevent an internal caller from accessing an external bucket.

    Open this question
  40. Question 40

    Security, Compliance, and Governance

    A company must provide access to a private web application without a VPN. Each access request must be evaluated using employee identity and device security posture. Which service should the architect choose?

    Show the answer

    Correct answerA. AWS Verified Access

    AWhy this is right: Verified Access enforces application access policies using identity and device trust information without a VPN.

    BWhy not this: User pools authenticate application users but do not provide the required device-posture-based private access layer.

    CWhy not this: Identity Center provides workforce access management but does not supply this device-aware application access enforcement layer.

    DWhy not this: Access Analyzer identifies access findings and validates policies; it does not enforce application access requests.

    AWS Verified Access evaluates application access requests using trust data such as user identity and device posture without requiring a VPN. IAM Identity Center provides workforce sign-in and access management, not this application access enforcement layer.

    Open this question
  41. Question 41

    Security, Compliance, and Governance

    An on-premises workload's IAM Roles Anywhere certificate is compromised. Other workloads use the same external CA and must continue obtaining credentials; which actions prevent new sessions using the compromised certificate? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Have the issuing CA revoke the compromised certificate and publish an updated CRL.F. Import the updated CRL into IAM Roles Anywhere and enable it.

    AWhy not this: Shorter sessions limit credential lifetime but do not reject new requests using the compromised certificate.

    BWhy this is right: The CA must identify the compromised certificate as revoked in an updated certificate revocation list.

    CWhy not this: IAM user access keys are separate from the certificate used by IAM Roles Anywhere.

    DWhy not this: Removing S3 permissions changes authorization but does not prevent certificate-based session creation.

    EWhy not this: Disabling the shared trust anchor would prevent unaffected workloads from authenticating through it.

    FWhy this is right: IAM Roles Anywhere must have the updated CRL enabled to enforce revocation for the compromised certificate.

    Revoke the certificate at its CA, then import and enable the updated certificate revocation list in IAM Roles Anywhere to reject new sessions using it. Disabling the shared trust anchor would also disrupt unaffected workloads.

    Open this question
  42. Question 42

    Security, Compliance, and Governance

    A company deploys AWS CloudHSM for a regulated application and must document its operational responsibilities. Which tasks are the company's responsibility? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. Maintain CloudHSM client software on application hostsD. Manage cryptographic keys within the HSMsE. Manage HSM users and their credentials

    AWhy not this: AWS maintains and replaces the underlying physical HSM hardware.

    BWhy not this: AWS is responsible for physical security at the facilities hosting the HSMs.

    CWhy this is right: Customers install and maintain the client software running on their application hosts.

    DWhy this is right: Customers control the creation, permissions, and lifecycle of their HSM keys.

    EWhy this is right: Customers administer HSM users and protect their credentials.

    Customers manage HSM users, cryptographic keys, and client software on their application hosts. AWS operates the underlying hardware and provides physical security; dedicated hardware does not transfer those responsibilities to the customer.

    Open this question
  43. Question 43

    Security, Compliance, and Governance

    A software publisher needs quantum-resistant signatures for release manifests, with private keys retained in AWS KMS and verification performed by disconnected customers. Which design meets these requirements?

    Show the answer

    Correct answerD. Sign with a KMS ML-DSA key and distribute its public key

    AWhy not this: Symmetric encryption provides confidentiality, not a publicly verifiable digital signature.

    BWhy not this: RSA permits offline verification but does not provide post-quantum signature security.

    CWhy not this: HMAC requires a shared secret; a key identifier cannot enable disconnected verification.

    DWhy this is right: ML-DSA provides post-quantum signatures whose verification requires only the public key and compatible software.

    An asymmetric ML-DSA KMS key provides post-quantum signatures, and its public key supports verification outside AWS KMS. RSA also supports offline verification, but its signatures are not resistant to sufficiently capable quantum computers.

    Open this question
  44. Question 44

    Security, Compliance, and Governance

    A company's AWS KMS API traffic contains information that must remain confidential for decades, and adversaries might record encrypted sessions today. Which change best addresses future quantum decryption while retaining a classical key-exchange component?

    Show the answer

    Correct answerC. Configure supported clients to use hybrid post-quantum TLS

    AWhy not this: Rotating encryption-at-rest keys does not change the key exchange protecting recorded TLS sessions.

    BWhy not this: TLS 1.3 alone does not make classical ECDHE resistant to future quantum attacks.

    CWhy this is right: Hybrid post-quantum TLS combines classical and post-quantum key establishment to protect session secrets.

    DWhy not this: Post-quantum signatures address authenticity, not the confidentiality of recorded TLS sessions.

    Hybrid post-quantum TLS combines classical and post-quantum key establishment to address harvest-now, decrypt-later threats. TLS 1.3 with only classical ECDHE does not provide quantum-resistant key establishment.

    Open this question
  45. Question 45

    Security, Compliance, and Governance

    What is the primary purpose of ML-KEM in a post-quantum cryptographic design?

    Show the answer

    Correct answerB. Establish a shared secret over an untrusted channel

    AWhy not this: Publicly verifiable signatures are the role of digital signature algorithms, not ML-KEM.

    BWhy this is right: ML-KEM uses key encapsulation to establish a shared secret with post-quantum security.

    CWhy not this: Scheduled key rotation manages key lifecycle rather than establishing a shared secret.

    DWhy not this: A certificate authority issues certificates; ML-KEM does not bind identities to public keys.

    ML-KEM is a post-quantum key-encapsulation mechanism used to establish a shared secret. Digital signatures provide authenticity and integrity instead; they do not perform key encapsulation.

    Open this question
  46. Question 46

    Security, Compliance, and Governance

    A company uses AWS CloudHSM and requires multiple HSM administrators to approve deletion of an HSM user, even when an administrator has direct HSM access. Which control should the architect implement?

    Show the answer

    Correct answerA. HSM quorum authentication for user management

    AWhy this is right: Quorum authentication enforces approval by multiple HSM administrators for protected user-management operations.

    BWhy not this: Network restrictions limit connectivity but do not require multiple administrators to approve an operation.

    CWhy not this: KMS key policies govern KMS keys, not the administration of CloudHSM users.

    DWhy not this: IAM MFA protects AWS API access but does not enforce multiple approvals for HSM user deletion.

    CloudHSM quorum authentication can require approvals from multiple HSM administrators for user-management operations. IAM MFA controls AWS API access, not approval of user-management operations performed directly within an HSM.

    Open this question
  47. Question 47

    Security, Compliance, and Governance

    A company needs the same collection of AWS Config rules and remediation actions deployed across organization member accounts in each required Region. Which approach provides a centrally managed, repeatable deployment?

    Show the answer

    Correct answerC. Deploy organization conformance packs through AWS Config.

    AWhy not this: An aggregator collects existing configuration and compliance data rather than deploying compliance checks.

    BWhy not this: GuardDuty provides threat detection rather than deployment of Config rules and remediation actions.

    CWhy this is right: Organization conformance packs centrally deploy packaged Config rules and remediation actions to member accounts.

    DWhy not this: An organization trail records API activity rather than deploying configuration compliance rules.

    Organization conformance packs deploy collections of AWS Config rules and remediation actions across member accounts. An AWS Config aggregator collects configuration and compliance data but does not deploy rules or remediation actions.

    Open this question
  48. Question 48

    Security, Compliance, and Governance

    A production account inherits an SCP that explicitly denies an API action, but an application now requires that action. Its IAM role already allows the action; which change enables access?

    Show the answer

    Correct answerC. Revise the inherited deny so the required access is excluded.

    AWhy not this: An SCP allow cannot override an explicit deny inherited from a parent.

    BWhy not this: A permissions boundary cannot override an explicit SCP deny.

    CWhy this is right: Excluding the required access from the inherited deny removes the restriction that blocks the existing IAM permission.

    DWhy not this: The role already allows the action, and another IAM allow cannot override an SCP deny.

    An explicit SCP deny overrides IAM permissions and SCP allows. The inherited deny must stop applying to the required access; adding an allow at the account cannot override it.

    Open this question
  49. Question 49

    Security, Compliance, and Governance

    Which AWS Organizations account is exempt from restrictions imposed by SCPs?

    Show the answer

    Correct answerA. The management account

    AWhy this is right: SCPs do not restrict principals in the organization's management account.

    BWhy not this: Delegating service administration does not exempt a member account from SCPs.

    CWhy not this: A security tooling account remains subject to applicable SCPs because it is a member account.

    DWhy not this: A log archive account remains subject to applicable SCPs because it is a member account.

    SCPs do not restrict users or roles in the organization's management account. Delegated administrator accounts remain member accounts and are subject to applicable SCPs.

    Open this question
  50. Question 50

    Security, Compliance, and Governance

    Member-account administrators can edit S3 bucket policies, and some policies grant access to an external vendor's IAM role. Which centrally enforced policy can deny that role access to these buckets regardless of subsequent bucket-policy grants?

    Show the answer

    Correct answerB. An RCP on the bucket-owning OU denying the vendor role's S3 access

    AWhy not this: An SCP on the resource owner's OU does not constrain an IAM role belonging to an external account.

    BWhy this is right: An RCP explicit deny protects member-account S3 resources even when a bucket policy grants the external role access.

    CWhy not this: AWS RAM sharing policies do not impose organization-wide authorization limits on S3 bucket-policy access.

    DWhy not this: An administrator's permissions boundary does not restrict an external role accessing an S3 bucket.

    An RCP limits access to supported resources in member accounts, including access by external principals. An SCP limits principals in the accounts it governs, so an SCP on the bucket-owning OU does not restrict the external vendor's role.

    Open this question