Curated

Design Secure Architectures 2 (1.3)

0 votes

Questions33

  1. Question 1

    Design Secure Architectures

    Which controls can grant a specific IAM role permission to read objects in an Amazon S3 bucket? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. An IAM identity-based policyC. An S3 bucket policy

    AWhy this is right: An identity-based policy attached to a role can allow S3 object-read actions.

    BWhy not this: Object Lock retention protects object versions from deletion or overwrite rather than authorizing reads.

    CWhy this is right: A bucket policy can name a role as a principal and allow object-read actions.

    DWhy not this: Lifecycle rules manage object transitions and expiration rather than granting access.

    IAM identity-based policies and S3 bucket policies can grant object-read permissions to an IAM role, subject to other applicable controls. Object Lock retention protects object versions from deletion or overwrite; it does not grant read access.

    Open this question
  2. Question 2

    Design Secure Architectures

    Analysts query shared S3 tables through Amazon Athena; each team must see only its region's rows and must never see salary columns. The company prohibits separate data copies and requires centralized permissions that analysts cannot bypass through direct S3 reads. Which design BEST meets these requirements?

    Show the answer

    Correct answerD. Use Lake Formation data filters; grant filtered SELECT permissions and remove analysts' direct S3 read access.

    AWhy not this: S3 policies authorize access to objects, not individual rows and columns within shared objects.

    BWhy not this: Direct access to the underlying S3 objects lets analysts bypass the restrictions expressed in views.

    CWhy not this: KMS controls decryption, not which rows or columns an authorized reader can see.

    DWhy this is right: Lake Formation filters restrict rows and columns, while removing direct S3 access closes the bypass path.

    Lake Formation data filters provide row- and column-level controls for Athena queries without separate copies. Removing direct S3 reads prevents bypass; Athena views alone do not protect underlying data when analysts can read the S3 objects.

    Open this question
  3. Question 3

    Design Secure Architectures

    A company must let an external auditor download one private Amazon S3 object for 30 minutes without creating an AWS identity for the auditor. Which solution requires the LEAST administrative effort?

    Show the answer

    Correct answerA. Generate an S3 presigned URL with a 30-minute expiration.

    AWhy this is right: A presigned URL grants temporary access to a specific object without requiring the recipient to have an AWS identity.

    BWhy not this: Public read access exposes the object to everyone and requires a separate action to revoke access.

    CWhy not this: Possession of an encryption key does not grant permission to download a private S3 object.

    DWhy not this: A browser is not an IAM principal that can be trusted to assume a role.

    An S3 presigned URL provides time-limited access to a specific object using the signer's permissions. Temporarily enabling public reads would expose the object to anyone, not just the auditor.

    Open this question
  4. Question 4

    Design Secure Architectures

    An application deleted important records from an Amazon RDS for MySQL database 20 minutes ago, and automated backups have a 7-day retention period. How should a solutions architect recover the database to immediately before the deletion while preserving the current instance for investigation?

    Show the answer

    Correct answerA. Perform a point-in-time restore to a new DB instance.

    AWhy this is right: Point-in-time recovery creates a separate instance at the selected recoverable time and preserves the source.

    BWhy not this: Rebooting recovers committed database state rather than reversing a committed deletion.

    CWhy not this: A snapshot is not restored over an existing instance, and yesterday's snapshot omits more recent valid changes.

    DWhy not this: The standby receives the deletion through replication; failover does not restore an earlier database state.

    RDS point-in-time recovery restores a new DB instance to a time within the available recovery window, preserving the source instance. A Multi-AZ standby replicates database changes, including the deletion, so failover does not undo it.

    Open this question
  5. Question 5

    Design Secure Architectures

    A company requires all new regional AWS resources in its member accounts to be created only in approved Regions. Which control provides a preventive guardrail across these accounts?

    Show the answer

    Correct answerA. Apply an SCP denying regional actions outside approved Regions.

    AWhy this is right: An SCP can restrict member-account actions by requested Region, establishing an organization-level preventive guardrail.

    BWhy not this: Replication creates additional copies without preventing resources from being created in unapproved Regions.

    CWhy not this: Customer managed keys control encryption, not the Regions in which resources can be created.

    DWhy not this: AWS Config detects noncompliant configurations but does not prevent resource creation.

    An AWS Organizations service control policy can deny actions outside approved Regions, preventing prohibited resource creation. AWS Config rules detect noncompliant resources after configuration changes rather than preventing creation.

    Open this question
  6. Question 6

    Design Secure Architectures

    Which AWS service provides downloadable third-party audit reports about AWS compliance controls?

    Show the answer

    Correct answerD. AWS Artifact

    AWhy not this: CloudTrail records account activity rather than supplying third-party reports about AWS compliance controls.

    BWhy not this: Amazon Inspector identifies workload vulnerabilities rather than providing AWS third-party compliance reports.

    CWhy not this: AWS Certificate Manager provisions and manages certificates, not compliance audit reports.

    DWhy this is right: AWS Artifact provides on-demand access to AWS security and compliance reports.

    AWS Artifact provides access to AWS compliance reports, including third-party audit reports. CloudTrail records activity in AWS accounts; it does not provide independent audit reports about AWS controls.

    Open this question
  7. Question 7

    Design Secure Architectures

    A regulator requires S3 records to remain undeletable for seven years, even by the account root user, and requires continuous evaluation of bucket encryption settings. Which controls meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Use AWS Config rules to evaluate bucket encryption settings.D. Apply S3 Object Lock compliance-mode retention to record versions.

    AWhy not this: Versioning preserves versions, but sufficiently privileged users can permanently delete versions without Object Lock.

    BWhy this is right: AWS Config rules continuously assess recorded resource configurations against required settings.

    CWhy not this: CloudTrail provides an activity history but does not itself evaluate whether encryption settings meet requirements.

    DWhy this is right: Compliance-mode retention prevents protected object versions from being deleted before retention expires, including by root.

    S3 Object Lock compliance mode prevents deletion of protected versions during retention, even by the root user. AWS Config evaluates configuration compliance; versioning does not prevent privileged deletion, and CloudTrail records activity rather than evaluating settings.

    Open this question
  8. Question 8

    Design Secure Architectures

    A company must replace an unencrypted Amazon RDS for MySQL DB instance with an encrypted instance while preserving its data. A maintenance window is available, but logical export and import are prohibited; which approach meets the requirement?

    Show the answer

    Correct answerC. Copy a snapshot with encryption, then restore the encrypted copy.

    AWhy not this: RDS does not support enabling storage encryption directly on an existing unencrypted DB instance.

    BWhy not this: An unencrypted snapshot must first be copied with encryption enabled; restoration alone cannot enable encryption.

    CWhy this is right: Encrypting a snapshot copy and restoring it creates an encrypted DB instance containing the captured data.

    DWhy not this: An encrypted RDS for MySQL read replica cannot be created from an unencrypted source DB instance.

    An unencrypted RDS snapshot can be copied with encryption enabled, and the encrypted copy can be restored as an encrypted DB instance. Encryption cannot be enabled directly on an existing unencrypted instance or when restoring its unencrypted snapshot.

    Open this question
  9. Question 9

    Design Secure Architectures

    An administrator deletes an Amazon EBS volume and all but its most recent snapshot. Although that snapshot is incremental, the company must recover the entire volume. What should a solutions architect do?

    Show the answer

    Correct answerD. Create a volume from the remaining snapshot.

    AWhy not this: CloudTrail records API activity, not the volume's data blocks.

    BWhy not this: Incremental storage does not restrict recovery to changed blocks; a snapshot supports full-volume restoration.

    CWhy not this: Earlier snapshots are not required; EBS preserves blocks needed by retained snapshots.

    DWhy this is right: The retained snapshot references all blocks needed to recreate the volume at the snapshot time.

    Any retained EBS snapshot can restore the complete volume as it existed when the snapshot was taken. Although snapshots are incremental, deleting earlier snapshots does not delete blocks still referenced by retained snapshots.

    Open this question
  10. Question 10

    Design Secure Architectures

    Which AWS service discovers sensitive data, such as personally identifiable information, in Amazon S3 objects?

    Show the answer

    Correct answerA. Amazon Macie

    AWhy this is right: Macie analyzes S3 objects to discover sensitive data, including personally identifiable information.

    BWhy not this: Lake Formation governs data lake access rather than discovering sensitive content in S3 objects.

    CWhy not this: AWS Backup manages data protection and recovery rather than sensitive-data discovery.

    DWhy not this: AWS KMS manages cryptographic keys rather than classifying object contents.

    Amazon Macie discovers sensitive data in S3 objects to support data classification and protection. AWS Lake Formation manages permissions for data lakes rather than scanning object contents for sensitive data.

    Open this question
  11. Question 11

    Design Secure Architectures

    A user deletes an object from a versioning-enabled Amazon S3 bucket without specifying a version ID. Previous versions remain available. How should a solutions architect restore access through the object's original URL?

    Show the answer

    Correct answerA. Remove the object's current delete marker.

    AWhy this is right: Removing the current delete marker exposes the previous version through the original object key.

    BWhy not this: Versioning cannot be disabled after activation, and suspending it would not remove the delete marker.

    CWhy not this: Read permissions do not remove a delete marker or make an earlier version current.

    DWhy not this: Archive retrieval applies to archived data, not to an object hidden by a delete marker.

    Removing the current delete marker makes the previous object version current and accessible through the original URL. Additional GetObject permissions cannot make an ordinary GET return an object whose current version is a delete marker.

    Open this question
  12. Question 12

    Design Secure Architectures

    A versioning-enabled S3 bucket must expire current objects 30 days after creation and permanently delete previous versions 90 days after they become noncurrent. Which S3 Lifecycle configuration meets these requirements?

    Show the answer

    Correct answerD. Expire current versions after 30 days; expire noncurrent versions after 90 days.

    AWhy not this: Transitioning noncurrent versions changes storage class but does not permanently delete them.

    BWhy not this: Transitioning a current version changes its storage class rather than expiring it after 30 days.

    CWhy not this: Removing expired delete markers does not permanently delete noncurrent object versions on the required schedule.

    DWhy this is right: Current expiration meets the 30-day rule; noncurrent expiration deletes versions 90 days after they become noncurrent.

    Current-version expiration and noncurrent-version expiration implement the separate retention periods. In a versioning-enabled bucket, current-version expiration creates a delete marker; removing expired delete markers does not delete retained noncurrent data versions.

    Open this question
  13. Question 13

    Design Secure Architectures

    A web application on EC2 instances must route requests to target groups by URL path. Clients authenticate with X.509 certificates issued by the company's private CA, and the company wants the load balancer, not the application, to terminate TLS with an AWS Certificate Manager (ACM) certificate and reject clients without a valid certificate. Which configuration meets these requirements?

    Show the answer

    Correct answerD. An Application Load Balancer HTTPS listener with an ACM certificate and mutual TLS in verify mode

    AWhy not this: Passthrough mode sends the client certificate to the targets in a header without validating it at the load balancer.

    BWhy not this: A TCP listener leaves TLS termination and certificate checks to the application and cannot route by URL path.

    CWhy not this: Re-encrypting to HTTPS targets protects the back-end hop but does not ask clients for certificates.

    DWhy this is right: Verify mode validates client certificates against a trust store at the load balancer, which also terminates TLS and routes by path.

    In verify mode, the Application Load Balancer terminates TLS with the ACM certificate, checks each client certificate against a trust store holding the private CA, and rejects clients that fail before routing by path. Passthrough mode forwards the client certificate to the targets without checking it, so the application would still have to validate it.

    Open this question
  14. Question 14

    Design Secure Architectures

    An application must encrypt 100 MB files locally before uploading them to storage. Its symmetric KMS key must remain in AWS KMS; which encryption approach should it use?

    Show the answer

    Correct answerD. Encrypt files with data keys protected by the KMS key.

    AWhy not this: The symmetric KMS key cannot be exported from AWS KMS for local encryption.

    BWhy not this: Digital signatures provide integrity and authenticity, not confidentiality for stored files.

    CWhy not this: A 100 MB file exceeds the 4,096-byte plaintext limit for direct symmetric KMS encryption.

    DWhy this is right: Data keys encrypt the files locally while the KMS key protects the data keys without leaving AWS KMS.

    Envelope encryption uses data keys to encrypt files locally and a KMS key to protect those data keys. Direct encryption with a symmetric KMS key accepts at most 4,096 bytes, so it cannot encrypt an entire 100 MB file in one request.

    Open this question
  15. Question 15

    Design Secure Architectures

    A company must encrypt every new Amazon EBS volume in a Region, including volumes launched without encryption settings. Which configuration meets this requirement with the LEAST operational overhead?

    Show the answer

    Correct answerA. Enable EBS encryption by default in the Region.

    AWhy this is right: The regional setting automatically encrypts new EBS volumes when encryption settings are omitted.

    BWhy not this: Key rotation does not cause an unencrypted volume to use encryption.

    CWhy not this: Restricting who creates volumes does not ensure those volumes are encrypted.

    DWhy not this: Backups provide recovery copies but do not ensure that new source volumes are encrypted.

    EBS encryption by default ensures that new EBS volumes in the Region are encrypted even when encryption is not explicitly requested. KMS key rotation changes key material but does not require volumes to use encryption.

    Open this question
  16. Question 16

    Design Secure Architectures

    Which AWS service can provision a public TLS certificate for an Application Load Balancer's HTTPS listener?

    Show the answer

    Correct answerD. AWS Certificate Manager

    AWhy not this: Secrets Manager stores and rotates secrets; it does not issue public TLS certificates.

    BWhy not this: CloudHSM provides hardware security modules, not a public certificate issuance service.

    CWhy not this: AWS KMS manages encryption and signing keys rather than issuing public TLS certificates.

    DWhy this is right: ACM provisions public TLS certificates for supported integrations, including Application Load Balancers.

    AWS Certificate Manager provisions public TLS certificates that integrate with Application Load Balancer HTTPS listeners. AWS KMS manages cryptographic keys but does not issue public TLS certificates.

    Open this question
  17. Question 17

    Design Secure Architectures

    Which Amazon S3 encryption option uses keys that Amazon S3 manages entirely, without requiring customers to manage AWS KMS keys?

    Show the answer

    Correct answerD. SSE-S3

    AWhy not this: DSSE-KMS provides two layers of server-side encryption using AWS KMS keys.

    BWhy not this: SSE-KMS uses AWS KMS keys rather than keys managed entirely within Amazon S3.

    CWhy not this: SSE-C requires the customer to supply and manage the encryption keys.

    DWhy this is right: SSE-S3 provides server-side encryption with Amazon S3 managed keys.

    SSE-S3 uses encryption keys managed entirely by Amazon S3. SSE-KMS uses AWS KMS keys, even when the customer chooses an AWS managed key rather than a customer managed key.

    Open this question
  18. Question 18

    Design Secure Architectures

    An application uses a symmetric customer managed AWS KMS key with AWS-generated key material. Security requires automatic annual rotation without changing the key ARN or losing access to existing ciphertext. Which action meets these requirements?

    Show the answer

    Correct answerC. Enable automatic rotation with a 365-day rotation period.

    AWhy not this: A replacement key has a different ARN and is a manual process, not automatic rotation of the existing key.

    BWhy not this: Key material can be imported only into keys created for imported material, not into a key with AWS-generated material.

    CWhy this is right: Automatic rotation with a 365-day period keeps the key ARN and retains earlier key material for decryption.

    DWhy not this: Moving to a new key changes the ARN, and deleting the old key is unnecessary work that risks losing data still encrypted under it.

    Automatic rotation keeps the same key ID and ARN, and AWS KMS retains earlier key material so it can still decrypt existing ciphertext. Importing key material works only for keys created for imported material, not keys with AWS-generated material, and a replacement key has a different ARN.

    Open this question
  19. Question 19

    Design Secure Architectures

    A company must preserve selected Amazon S3 object versions during litigation, with no known end date. Authorized legal staff must be able to release the protection when litigation ends. Which control BEST meets these requirements?

    Show the answer

    Correct answerC. Apply S3 Object Lock legal holds.

    AWhy not this: Versioning preserves versions but does not prevent authorized users from permanently deleting them.

    BWhy not this: Compliance-mode retention uses a fixed end date and cannot be removed early.

    CWhy this is right: A legal hold has no expiration date and remains effective until a user with the required permission removes it.

    DWhy not this: Lifecycle expiration schedules deletion; it does not protect evidence from deletion during litigation.

    An S3 Object Lock legal hold protects an object version indefinitely until an authorized user removes it. Compliance-mode retention requires a retention end date and cannot be shortened, even by authorized legal staff.

    Open this question
  20. Question 20

    Design Secure Architectures

    A company must transfer an encrypted RDS manual DB snapshot to another AWS account in the same Region; the snapshot uses the source account's default AWS managed KMS key. The destination must own a restorable copy encrypted under its own customer managed key, with no ongoing dependency on the source account. Which approach meets these requirements?

    Show the answer

    Correct answerD. Copy using a source customer managed key; share the copy and key access; have the destination copy using its own key.

    AWhy not this: The original snapshot cannot be shared, and an existing DB instance's KMS key cannot simply be changed in place.

    BWhy not this: Directly restoring the shared snapshot does not establish an independent snapshot copy encrypted under the destination's key.

    CWhy not this: Snapshots encrypted with the default AWS managed key cannot be shared, and that key cannot be shared across accounts.

    DWhy this is right: The source copy enables sharing, and the destination copy establishes ownership with encryption under the destination's key.

    A snapshot encrypted with the default AWS managed key cannot be shared. Copying it under a customer managed key enables sharing; a destination-owned copy encrypted with the destination's key removes the ongoing source-key dependency.

    Open this question
  21. Question 21

    Design Secure Architectures

    A role reads SSE-KMS objects from several S3 buckets using one customer managed key; S3 Bucket Keys are disabled. Its KMS permissions must permit decryption only through S3 in us-east-1 for objects under reports/ in finance-records, even if another policy allows direct decryption. Which key-policy restriction meets these requirements?

    Show the answer

    Correct answerC. Deny decryption when either the S3 service condition or the object-prefix encryption context fails, using separate deny statements.

    AWhy not this: A conditional allow does not override another applicable allow that permits broader decryption.

    BWhy not this: Region and principal restrictions do not restrict use to S3 or to the permitted object prefix.

    CWhy this is right: Independent explicit denies block either boundary violation despite another applicable allow.

    DWhy not this: Conditions combined this way require both failures, leaving requests that violate only one boundary unblocked.

    Separate explicit denies enforce each boundary: kms:ViaService must identify S3 in us-east-1, and kms:EncryptionContext:aws:s3:arn must match the permitted object prefix. A single deny requiring both failures leaves requests with only one failed condition unblocked.

    Open this question
  22. Question 22

    Design Secure Architectures

    A role in account B must decrypt data using a customer managed KMS key in account A. Neither account currently grants this access, and no explicit denies apply; which changes are required?

    Show the answer

    Correct answerC. Allow the role in the key policy and allow kms:Decrypt on the key in the role's IAM policy.

    AWhy not this: Rotation changes key material but cannot replace the required IAM permission in the caller's account.

    BWhy not this: SCPs limit permissions rather than grant them, and key replication does not authorize cross-account access.

    CWhy this is right: The key policy authorizes the external role, and the role's IAM policy authorizes its cross-account use of the key.

    DWhy not this: An IAM allow alone cannot authorize use of another account's key; an alias does not supply that authorization.

    Cross-account KMS access requires authorization in the key-owning account's key policy and an IAM allow in the caller's account. A key-policy permission alone is insufficient for cross-account use, and key rotation does not grant access.

    Open this question
  23. Question 23

    Design Secure Architectures

    A company serves an application through Amazon CloudFront with an Application Load Balancer as its custom origin. Which configurations together require encrypted connections on both network segments? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Configure an ALB HTTPS listener with a trusted certificate matching the configured origin domain name.D. Set the viewer protocol policy to HTTPS only.E. Set the origin protocol policy to HTTPS only.

    AWhy this is right: The origin must accept HTTPS and present a certificate that CloudFront trusts and can validate.

    BWhy not this: Encrypting stored logs protects data at rest, not application traffic in transit.

    CWhy not this: The prefix list restricts network sources but does not require TLS.

    DWhy this is right: HTTPS only rejects unencrypted viewer requests to CloudFront.

    EWhy this is right: HTTPS only requires CloudFront to use TLS when connecting to the origin.

    The viewer policy requires HTTPS from clients, and the origin policy requires HTTPS to the ALB, whose listener needs a valid, matching certificate. Restricting source addresses controls access but does not encrypt connections.

    Open this question
  24. Question 24

    Design Secure Architectures

    Which AWS KMS mechanism delegates revocable permission to use a key without editing its key policy?

    Show the answer

    Correct answerC. A KMS grant

    AWhy not this: Rotation changes key material, not the permissions assigned to a principal.

    BWhy not this: An alias provides a friendly reference to a key; it does not independently delegate permission.

    CWhy this is right: A grant delegates specified key operations to a principal and can be revoked.

    DWhy not this: An encryption context supplies authenticated metadata, not an independent permission grant.

    A KMS grant delegates specified permissions on a KMS key and can be revoked without editing the key policy. An encryption context supplies authenticated metadata and can constrain authorization, but does not independently grant access.

    Open this question
  25. Question 25

    Design Secure Architectures

    A company needs to restore an Amazon RDS for PostgreSQL database to a time before an accidental update, even if the source AWS Region becomes unavailable. Which solution provides historical recovery data in another Region with the LEAST operational overhead?

    Show the answer

    Correct answerB. Enable cross-Region automated backup replication

    AWhy not this: Release-based manual snapshots omit intervening changes and require more operational management.

    BWhy this is right: Replicated automated backups provide snapshots and transaction logs for historical recovery in another Region.

    CWhy not this: A read replica applies source changes, including accidental updates, rather than retaining selectable historical restore points.

    DWhy not this: Multi-AZ provides availability within one Region, not historical recovery during a Regional outage.

    Cross-Region automated backup replication copies snapshots and transaction logs to support point-in-time recovery in the destination Region. A cross-Region read replica also applies accidental updates, so it does not provide historical recovery by itself.

    Open this question
  26. Question 26

    Design Secure Architectures

    A versioned S3 bucket must expire current object versions after 30 days while preserving each noncurrent version for 90 days after it becomes noncurrent. Which S3 Lifecycle configuration meets these requirements?

    Show the answer

    Correct answerB. Expire current versions after 30 days and expire noncurrent versions after 90 noncurrent days

    AWhy not this: Transitioning current versions changes storage class without expiring them after 30 days.

    BWhy this is right: Current expiration and noncurrent expiration independently implement the required 30-day and 90-day intervals.

    CWhy not this: Transitioning noncurrent versions changes their storage class but does not expire them after the required retention period.

    DWhy not this: Noncurrent retention is measured from when a version becomes noncurrent, not from its original creation date.

    Current-version expiration in a versioned bucket makes the version noncurrent by adding a delete marker. Noncurrent-version expiration can then permanently delete that version after 90 noncurrent days; its original creation date does not determine that interval.

    Open this question
  27. Question 27

    Design Secure Architectures

    A company enables S3 Cross-Region Replication on a bucket containing several years of objects. New objects reach the destination, but older objects must also be replicated without changing the application or rewriting the source objects. What should a solutions architect configure?

    Show the answer

    Correct answerA. S3 Batch Replication for the existing objects

    AWhy this is right: S3 Batch Replication supports replicating objects that existed before the replication rule.

    BWhy not this: Replication Time Control improves replication timeliness but does not backfill objects that predate the rule.

    CWhy not this: Transfer Acceleration speeds client transfers to S3; it does not replicate existing objects between buckets.

    DWhy not this: Same-Region Replication neither targets another Region nor automatically backfills existing objects.

    S3 Batch Replication can replicate objects that existed before a replication rule was configured. S3 Replication Time Control provides predictable replication times for eligible new objects; it does not backfill existing objects.

    Open this question
  28. Question 28

    Design Secure Architectures

    Which AWS service centrally schedules and manages backups for Amazon EBS volumes, Amazon RDS databases, and Amazon EFS file systems?

    Show the answer

    Correct answerD. AWS Backup

    AWhy not this: AWS DataSync transfers data but does not centrally schedule backups for EBS, RDS, and EFS.

    BWhy not this: AWS Config records and evaluates resource configurations rather than creating scheduled backups.

    CWhy not this: AWS KMS manages encryption keys rather than scheduling resource backups.

    DWhy this is right: AWS Backup provides centralized backup scheduling and management across these supported services.

    AWS Backup centrally manages backup policies and schedules across supported AWS services. AWS DataSync transfers data between storage locations rather than centrally managing backups for these resources.

    Open this question
  29. Question 29

    Design Secure Architectures

    Which validation method supports automatic renewal of an eligible ACM-issued public certificate through persistent DNS records?

    Show the answer

    Correct answerB. DNS validation

    AWhy not this: Email validation requires responding to validation emails rather than maintaining DNS validation records.

    BWhy this is right: ACM can reuse persistent DNS validation records to validate ownership during automatic renewal.

    CWhy not this: IAM authentication controls AWS access, not certificate domain ownership validation.

    DWhy not this: Mutual TLS authenticates connection participants, not domain ownership for ACM renewal.

    DNS validation allows ACM to validate domain ownership using retained DNS records during managed renewal. Email validation instead requires a domain owner to respond to validation emails.

    Open this question
  30. Question 30

    Design Secure Architectures

    An Application Load Balancer uses a third-party certificate imported into ACM that expires soon. The company must renew it without changing the listener's certificate ARN. What should a solutions architect do?

    Show the answer

    Correct answerB. Renew with the issuer and reimport into the existing ACM certificate.

    AWhy not this: Importing a separate certificate creates a new ARN and requires updating the listener.

    BWhy this is right: Reimporting the renewed certificate preserves the existing ARN and listener association.

    CWhy not this: Imported certificates are not eligible for ACM managed renewal.

    DWhy not this: A newly requested ACM certificate has a different ARN.

    Reimporting a renewed certificate into the existing ACM certificate preserves its ARN and service associations. ACM does not provide managed renewal for imported certificates.

    Open this question
  31. Question 31

    Design Secure Architectures

    A versioned S3 bucket must expire current objects after 30 days, permanently remove previous versions 90 days after they become noncurrent, and remove incomplete multipart uploads after 7 days. Which S3 Lifecycle configuration meets these requirements?

    Show the answer

    Correct answerD. Expire current versions after 30 days; expire noncurrent versions after 90 days; abort incomplete multipart uploads after 7 days.

    AWhy not this: Object expiration under a prefix does not remove the uploaded parts of incomplete multipart uploads.

    BWhy not this: The current-version and noncurrent-version retention periods are reversed.

    CWhy not this: A storage-class transition retains noncurrent versions instead of permanently deleting them.

    DWhy this is right: The three actions apply the required expiration periods and separately remove unfinished multipart uploads.

    Current-version expiration, noncurrent-version expiration, and incomplete multipart upload abortion address separate lifecycle requirements. Transitioning a noncurrent version to an archive storage class retains it rather than permanently deleting it.

    Open this question
  32. Question 32

    Design Secure Architectures

    An application encrypts new records through a KMS alias targeting an asymmetric encryption key and stores the key ARN with each ciphertext. Annual rotation must preserve access to historical records without re-encrypting them; which actions meet these requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Retain previous keys and the permissions needed to decrypt historical records.C. Update the application alias to target the replacement key.F. Create a replacement asymmetric KMS key each year.

    AWhy not this: Automatic KMS key rotation is not supported for asymmetric keys.

    BWhy this is right: Historical ciphertext still requires its original key and authorization to use that key.

    CWhy this is right: Redirecting the alias sends subsequent encryption requests to the replacement key.

    DWhy not this: Identical key specifications do not give distinct KMS keys identical cryptographic material.

    EWhy not this: Deleting a previous key prevents decryption of records encrypted under that key.

    FWhy this is right: Creating a replacement key provides new asymmetric key material for manual rotation.

    Asymmetric KMS keys require manual rotation: create a replacement and redirect the alias for new encryption. Retain previous keys for historical decryption; matching key specifications do not make different keys interchangeable.

    Open this question
  33. Question 33

    Design Secure Architectures

    An S3 bucket holds confidential documents. Security requires the bucket to reject every request that does not arrive through the company's S3 gateway endpoint, vpce-1a2b3c4d, even when an IAM policy allows the request. Which configuration meets this requirement?

    Show the answer

    Correct answerC. Add a bucket policy statement that denies all S3 actions when aws:SourceVpce is not vpce-1a2b3c4d.

    AWhy not this: An endpoint policy limits what callers can reach through that endpoint, but it does not stop requests that reach the bucket by another path.

    BWhy not this: A conditional Allow adds no restriction when an IAM policy in the same account already allows the request.

    CWhy this is right: An explicit Deny for requests from any other source overrides every Allow, including the IAM policy.

    DWhy not this: Block Public Access stops public grants but does not reject authenticated requests from outside the endpoint.

    An explicit Deny in the bucket policy with a StringNotEquals condition on aws:SourceVpce rejects requests from any other path, and an explicit Deny overrides any IAM Allow. A conditional Allow in the bucket policy does not stop an IAM policy in the same account from granting access over another path.

    Open this question