Curated

Data Protection (5.1–5.3)

0 votes

Questions54

  1. Question 1

    Data Protection

    An application behind a Network Load Balancer must validate each client's certificate during the TLS handshake, with TLS terminating only at the application. Which configuration meets these requirements?

    Show the answer

    Correct answerD. Use a TCP listener with a TCP target group and application mutual TLS.

    AWhy not this: A TCP listener passes traffic through and does not perform client certificate validation.

    BWhy not this: A TLS listener terminates client TLS and sends decrypted traffic to a TCP target group.

    CWhy not this: A TLS listener terminates the client TLS session; backend TLS creates a separate session.

    DWhy this is right: TCP passthrough preserves the client TLS handshake so the application can authenticate the client certificate.

    A TCP listener passes the TLS connection through to the application, which can require and validate client certificates using mutual TLS. A TLS listener terminates the client's TLS session at the Network Load Balancer, even if the backend connection also uses TLS.

    Open this question
  2. Question 2

    Data Protection

    An Amazon RDS for PostgreSQL DB instance accepts both encrypted and unencrypted database connections. Which change makes the database reject unencrypted connections?

    Show the answer

    Correct answerC. Set rds.force_ssl to 1 in its DB parameter group.

    AWhy not this: Private subnet placement does not require clients to negotiate TLS.

    BWhy not this: Restricting connection sources does not require encryption from those sources.

    CWhy this is right: The rds.force_ssl parameter makes RDS for PostgreSQL reject non-SSL connections.

    DWhy not this: Encryption at rest protects stored data, not database connections.

    Setting rds.force_ssl to 1 requires SSL/TLS for connections to RDS for PostgreSQL. Private subnets restrict network reachability but do not prevent reachable clients from attempting unencrypted database sessions.

    Open this question
  3. Question 3

    Data Protection

    An Application Load Balancer has an HTTPS listener that accepts TLS 1.0 connections. A company must require TLS 1.2 or later for client connections. What should a security engineer change?

    Show the answer

    Correct answerD. Select a listener security policy supporting only TLS 1.2 and later.

    AWhy not this: The target group protocol controls the backend connection, not client TLS negotiation.

    BWhy not this: A security group filters ports and addresses, not the TLS versions negotiated on an allowed port.

    CWhy not this: Replacing a certificate does not change the TLS versions permitted by the listener.

    DWhy this is right: The listener security policy controls permitted TLS protocol versions and cipher suites.

    The HTTPS listener's security policy determines the TLS versions clients can negotiate. Using HTTPS for the target group encrypts backend connections but does not restrict client-side TLS versions.

    Open this question
  4. Question 4

    Data Protection

    Several IAM roles have identity policies that allow access to an S3 bucket and its objects. The bucket must reject every request that is not sent over TLS, whatever policy grants it. Which bucket policy statement meets this requirement?

    Show the answer

    Correct answerC. Deny s3:* on the bucket ARN and its objects, when aws:SecureTransport is false.

    AWhy not this: Object operations target object ARNs, so a Deny on the bucket ARN alone does not cover GetObject or PutObject.

    BWhy not this: A conditional Allow does not deny insecure requests that the roles' identity policies already allow.

    CWhy this is right: An explicit Deny on the bucket and object ARNs rejects every non-TLS request regardless of other grants.

    DWhy not this: A VPC endpoint restriction controls the network path but does not enforce TLS.

    An explicit Deny on both the bucket ARN and its objects (bucket/*) when aws:SecureTransport is false rejects every non-TLS request, because an explicit Deny overrides the roles' identity-policy Allows. A Deny on the bucket ARN alone misses object operations such as GetObject, and a conditional Allow does not stop requests that other policies already allow.

    Open this question
  5. Question 5

    Data Protection

    A company requires native Amazon EBS encryption with key material generated and kept in a company-controlled, single-tenant HSM cluster that runs as an AWS managed service inside the company's VPC. The company will not run key managers or proxies outside AWS, and security administrators must be able to disconnect the key store from AWS KMS to block new cryptographic operations through it. Which design meets these requirements?

    Show the answer

    Correct answerC. Use an AWS KMS key in an AWS CloudHSM custom key store.

    AWhy not this: An external key store keeps keys in a key manager outside AWS and needs a customer-run XKS proxy.

    BWhy not this: Native EBS encryption integrates with AWS KMS, not directly with CloudHSM keys.

    CWhy this is right: This combines native KMS integration, customer-controlled single-tenant HSMs in the VPC, and the ability to disconnect the custom key store.

    DWhy not this: Imported key material is used within the standard KMS infrastructure, not retained exclusively in a company-controlled CloudHSM cluster.

    An AWS CloudHSM custom key store keeps KMS integration with EBS while the key material stays in a customer-controlled CloudHSM cluster in the VPC, and the key store can be disconnected. An external key store keeps keys in a key manager outside AWS reached through a customer-run XKS proxy, which the company rules out. CloudHSM keys used directly do not integrate with native EBS encryption.

    Open this question
  6. Question 6

    Data Protection

    An EC2 instance uses an existing unencrypted EBS data volume that must be replaced with an encrypted volume while preserving its contents. Which approach should a security engineer choose?

    Show the answer

    Correct answerD. Create a snapshot, then create an encrypted replacement volume from it.

    AWhy not this: Snapshot retention protects recovery points but does not itself enable encryption on a restored volume.

    BWhy not this: An existing EBS volume cannot be encrypted in place by assigning a KMS key.

    CWhy not this: Enabling encryption by default does not encrypt existing volumes, even after they are reattached.

    DWhy this is right: Creating an encrypted volume from the snapshot preserves the contents while changing their at-rest encryption state.

    An unencrypted EBS snapshot can be used to create an encrypted replacement volume that preserves the data. EBS encryption by default affects newly created volumes, not the encryption state of an existing volume.

    Open this question
  7. Question 7

    Data Protection

    A company must share an Amazon RDS manual DB snapshot encrypted with the AWS managed key aws/rds with another AWS account in the same Region. Which actions are required to make an encrypted snapshot available for the recipient to copy? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Authorize the recipient to use the customer managed KMS key.C. Copy the snapshot using a customer managed KMS key.E. Share the copied snapshot with the recipient account.

    AWhy this is right: The recipient needs permission to use the encryption key as well as permission to access the snapshot.

    BWhy not this: RDS snapshots encrypted with the AWS managed aws/rds key cannot be shared across accounts.

    CWhy this is right: Copying with a customer managed key removes the sharing restriction associated with the AWS managed aws/rds key.

    DWhy not this: Customers cannot edit the key policy of the AWS managed aws/rds key.

    EWhy this is right: Snapshot sharing permission gives the recipient account access to the copied snapshot.

    FWhy not this: Automatic rotation is not a prerequisite for sharing an encrypted RDS snapshot.

    Sharing requires a snapshot encrypted with a customer managed KMS key, snapshot sharing permission, and authorization to use that key. Snapshots encrypted with aws/rds cannot be shared, and customers cannot modify that AWS managed key's policy.

    Open this question
  8. Question 8

    Data Protection

    A company uses the Amazon S3 Encryption Client with an AWS KMS key as its wrapping key to encrypt documents before uploading them to S3. A reviewer asks what AWS KMS receives and returns when a document is encrypted. Which statement is correct?

    Show the answer

    Correct answerC. KMS issues a data key; the client encrypts locally, and KMS never sees the document's plaintext.

    AWhy not this: The client encrypts locally; sending documents to KMS would expose their plaintext and exceed KMS Encrypt size limits.

    BWhy not this: Client-side encryption happens before upload, so S3 receives only ciphertext.

    CWhy this is right: KMS supplies and wraps the data key, while the document itself is encrypted on the client.

    DWhy not this: KMS key material cannot be exported; clients use data keys instead.

    With envelope encryption, the S3 Encryption Client asks KMS for a data key, encrypts the document locally with the plaintext data key, and stores the encrypted data key with the object. KMS handles only the data key, never the document, and KMS key material never leaves KMS.

    Open this question
  9. Question 9

    Data Protection

    A company replicates a Secrets Manager secret to another AWS Region for local application access. It wants rotated secret values to remain synchronized without maintaining separate rotation workflows. Where should it configure rotation?

    Show the answer

    Correct answerB. On the primary secret, allowing updates to replicate

    AWhy not this: Replica secrets receive updates from the primary rather than running independent rotation workflows.

    BWhy this is right: Rotation of the primary secret propagates updated values to its replica secrets.

    CWhy not this: Rotating encryption keys does not rotate or synchronize the stored credential values.

    DWhy not this: Promotion creates an independent secret, so future primary updates no longer synchronize through replication.

    Configure rotation on the primary secret; Secrets Manager propagates its updated secret values to replicas. Promoting a replica makes it independent and breaks the replication relationship rather than maintaining synchronization.

    Open this question
  10. Question 10

    Data Protection

    A custom single-user rotation function has privileged database access and receives a valid rotation token for an AWSPENDING version. That version names a different database host and username than AWSCURRENT, although its credentials authenticate successfully. What should the function do before changing any password?

    Show the answer

    Correct answerA. Reject the rotation because the target identity differs from the current secret

    AWhy this is right: Rejecting mismatched targets prevents the privileged function from being redirected to an unintended resource.

    BWhy not this: Changing both targets extends privileged actions to an unvalidated database and user.

    CWhy not this: Successful authentication proves credential validity, not authorization to redirect the privileged rotation function.

    DWhy not this: A valid token identifies a rotation version; it does not validate the database host or username.

    A single-user rotation function should verify that pending and current credentials identify the same intended database and user before making privileged changes. Successful authentication and a valid rotation token do not establish that the pending target is authorized.

    Open this question
  11. Question 11

    Data Protection

    An application briefly caches database credentials, and new connections must succeed while its Secrets Manager secret rotates. The database supports cloned users, and a separate administrative secret is available. Which rotation strategy best accommodates clients still using the previously retrieved credentials?

    Show the answer

    Correct answerC. Alternating-users rotation using the administrative secret

    AWhy not this: The standard alternating-users strategy requires elevated credentials to manage the alternate database user.

    BWhy not this: More frequent retrieval reduces stale-cache time but does not preserve the old password during single-user rotation.

    CWhy this is right: Alternating users preserves a usable credential during rotation and uses administrative credentials to manage the users.

    DWhy not this: A longer interval reduces rotation frequency but does not remove the single-user password-change transition.

    Alternating-users rotation updates one of two database users while the other remains usable, accommodating clients with recently cached credentials. Single-user rotation changes the same user's password and can cause failures before clients refresh.

    Open this question
  12. Question 12

    Data Protection

    An application stores a database password in AWS Secrets Manager. A security policy requires unattended password changes every 30 days in both the database and the secret. What should the administrator configure?

    Show the answer

    Correct answerC. Automatic rotation of the secret with a database rotation function

    AWhy not this: Notifications can prompt action but do not perform unattended password changes.

    BWhy not this: Copying the existing password into new versions does not change the database credential.

    CWhy this is right: A database rotation function coordinates changing the database password and updating the secret.

    DWhy not this: KMS key rotation changes encryption key material without changing the password stored in the secret.

    Secrets Manager rotation can use a rotation function to update both the database password and the stored secret on a schedule. KMS key rotation changes encryption key material, not the database credential.

    Open this question
  13. Question 13

    Data Protection

    A provider must expose one private TCP service to customer VPCs with overlapping CIDR ranges, without granting routed access to its network. Each customer connection needs explicit approval, and individual requests need authorization; which design meets these requirements?

    Show the answer

    Correct answerC. Use an NLB-backed endpoint service, restrict allowed principals, require endpoint acceptance, and enforce request authorization at the application.

    AWhy not this: VPC peering cannot route between overlapping VPC CIDR ranges and provides network connectivity rather than service-only access.

    BWhy not this: Endpoint acceptance approves an endpoint connection, not the individual application operations performed through it.

    CWhy this is right: PrivateLink meets the isolation and overlapping-address requirements; acceptance approves connections while the application authorizes requests.

    DWhy not this: Transit gateway routing does not resolve overlapping destination addresses and grants routed connectivity rather than service-only access.

    AWS PrivateLink exposes the service without routed network access and supports overlapping CIDRs. Allowed principals and endpoint acceptance control connection establishment; application authorization is still needed for individual requests. Endpoint acceptance alone does not authorize application operations.

    Open this question
  14. Question 14

    Data Protection

    Which service provides access to a private web application using user identity and device security posture without requiring a VPN?

    Show the answer

    Correct answerB. AWS Verified Access

    AWhy not this: AWS Client VPN provides a VPN connection to a network, not VPN-free application access.

    BWhy this is right: AWS Verified Access evaluates identity and device context before allowing access to an application.

    CWhy not this: AWS Direct Connect provides dedicated network connectivity, not identity- and device-based application access.

    DWhy not this: AWS Site-to-Site VPN connects networks through encrypted tunnels rather than evaluating individual application users and devices.

    AWS Verified Access evaluates identity and device context to control application access without a VPN. AWS Client VPN provides remote network connectivity rather than VPN-free, application-specific access.

    Open this question
  15. Question 15

    Data Protection

    On-premises servers must access Amazon S3 over an existing AWS Direct Connect private virtual interface, without public endpoints or proxy servers. Which design supports this access?

    Show the answer

    Correct answerA. Use an S3 interface endpoint and configure on-premises DNS to resolve to its private IP addresses.

    AWhy this is right: S3 interface endpoint private IP addresses can be reached over Direct Connect when routing, security groups, and DNS are configured.

    BWhy not this: A private virtual interface does not provide access to S3 public endpoints, and public endpoints violate the requirement.

    CWhy not this: A gateway endpoint's prefix-list route cannot extend gateway endpoint access to on-premises networks over Direct Connect.

    DWhy not this: Adding routes does not make an S3 gateway endpoint accessible through a virtual private gateway.

    An S3 interface endpoint provides private IP addresses reachable from on premises through Direct Connect, with appropriate routing and DNS. S3 gateway endpoints cannot be extended to on-premises clients through a virtual private gateway.

    Open this question
  16. Question 16

    Data Protection

    An AWS Client VPN endpoint authenticates employees and has a target network association, but employees cannot reach a private EC2 application. Which configurations are required to permit that access? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Application security group rules allowing traffic from the Client VPN association's security groupD. A Client VPN route covering the application's destination networkF. A Client VPN authorization rule permitting the application's destination network

    AWhy not this: An EC2 API endpoint does not provide connectivity to application ports on EC2 instances.

    BWhy this is right: The application's security group must permit the traffic arriving through the Client VPN target network association.

    CWhy not this: An ELB security policy controls TLS negotiation at a load balancer, not Client VPN routing or network authorization.

    DWhy this is right: The Client VPN route table must contain a route to the application's network, whether added automatically or configured explicitly.

    EWhy not this: Private access through Client VPN does not require the application subnet to route traffic to an internet gateway.

    FWhy this is right: Authentication alone does not authorize network access; an authorization rule must permit the destination.

    Client VPN access requires a destination route, an authorization rule, and security group rules permitting application traffic. An EC2 interface endpoint provides private access to EC2 API operations, not to applications running on instances.

    Open this question
  17. Question 17

    Data Protection

    An S3 bucket uses versioning and Object Lock compliance-mode retention. A developer with s3:DeleteObject permission deletes a protected report without specifying a version ID, and the report no longer appears in normal listings. What is the state of the protected data?

    Show the answer

    Correct answerA. S3 added a delete marker; the locked version still exists and can be restored by removing the marker.

    AWhy this is right: Object Lock protects object versions, not the current-object view; a simple delete only adds a delete marker.

    BWhy not this: Compliance-mode retention blocks deletion of the locked version by any user, whatever their permissions.

    CWhy not this: S3 provides strong read-after-write consistency for listings, and the request was not rejected.

    DWhy not this: Object Lock keeps protected versions in place in the same bucket.

    A delete request without a version ID in a versioned bucket only adds a delete marker, which Object Lock does not prevent. The locked version stays intact and protected until its retain-until date, and removing the delete marker makes it current again. S3 listings are strongly consistent, and Object Lock does not move objects.

    Open this question
  18. Question 18

    Data Protection

    An S3 bucket contains existing object versions without retention settings, and new uploads must receive seven-year retention automatically. No administrator, including the account root user, may delete a protected version early; which configuration meets all requirements?

    Show the answer

    Correct answerC. Enable Object Lock with seven-year default compliance retention, and apply compliance retention to existing versions using S3 Batch Operations.

    AWhy not this: Default retention does not retroactively apply retention settings to existing object versions.

    BWhy not this: Governance retention is bypassable, and legal holds can be removed by users with the required permission.

    CWhy this is right: Default compliance retention protects new versions, while Batch Operations explicitly protects existing versions against early deletion.

    DWhy not this: Authorized users can bypass governance retention, so it does not meet the administrator-resistance requirement.

    Compliance retention prevents early deletion of protected versions even by the root user. Bucket default retention applies to new versions, so existing versions need explicit retention; governance retention can be bypassed by authorized users.

    Open this question
  19. Question 19

    Data Protection

    An auditor must determine whether CloudTrail log files delivered to S3 were modified or deleted after delivery. Which approach should a security engineer use?

    Show the answer

    Correct answerB. Enable CloudTrail log file integrity validation and validate the digest chain.

    AWhy not this: Access logs provide request records rather than cryptographic validation of CloudTrail log contents and completeness.

    BWhy this is right: Signed digest files and their chain support detection of changes to, or deletion of, delivered CloudTrail log files.

    CWhy not this: Encryption protects confidentiality but does not establish whether delivered log files were subsequently changed or deleted.

    DWhy not this: Lifecycle rules manage object expiration and storage transitions rather than validate log integrity.

    CloudTrail log file integrity validation provides signed digest files that can be validated to detect modification or deletion of delivered logs. S3 access logs record requests but do not cryptographically establish log-file integrity.

    Open this question
  20. Question 20

    Data Protection

    A company distributes software through S3 and must let customers detect modified packages and authenticate the publisher, even if an attacker replaces objects in the distribution bucket. Which controls together meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersD. Have customers verify signatures using a publisher public key obtained through a trusted channel.E. Sign each package digest using an asymmetric AWS KMS signing key.

    AWhy not this: Encryption at rest does not let customers authenticate the publisher or detect replacement by another encrypted object.

    BWhy not this: Versioning preserves earlier versions but does not authenticate the publisher of the current package.

    CWhy not this: An attacker who can replace bucket objects can replace both the package and its unsigned checksum.

    DWhy this is right: A trusted public key lets customers verify that the package signature was produced by the publisher's private key.

    EWhy this is right: A signature binds the package digest to the publisher's signing key without exposing the private key.

    Signing package digests and verifying signatures with a trusted publisher public key establish integrity and publisher authenticity. An unsigned checksum stored beside a package can be replaced along with the package.

    Open this question
  21. Question 21

    Data Protection

    A company requires Amazon S3 to apply two independent layers of server-side encryption to each object, using AWS KMS keys, without application-side cryptography. Which configuration meets these requirements?

    Show the answer

    Correct answerC. DSSE-KMS with a customer managed key

    AWhy not this: SSE-C uses customer-provided encryption keys rather than AWS KMS keys and does not provide dual-layer encryption.

    BWhy not this: S3 Bucket Keys reduce AWS KMS request traffic for SSE-KMS rather than adding an independent encryption layer.

    CWhy this is right: DSSE-KMS provides two independent server-side encryption layers and supports customer managed KMS keys.

    DWhy not this: SSE-S3 does not provide the required KMS-based dual-layer encryption; versioning preserves object versions.

    DSSE-KMS applies two independent layers of server-side encryption to S3 objects using AWS KMS keys. S3 Bucket Keys reduce KMS request costs for SSE-KMS; they do not provide dual-layer encryption.

    Open this question
  22. Question 22

    Data Protection

    What does AWS KMS provide to encrypt key material for secure import?

    Show the answer

    Correct answerD. A public wrapping key

    AWhy not this: The import process uses a supplied public wrapping key, not a customer managed symmetric key.

    BWhy not this: A key protecting Secrets Manager secrets is not the public wrapping key used for import.

    CWhy not this: A private CA certificate supports certificate issuance, not wrapping material for KMS import.

    DWhy this is right: The public wrapping key encrypts the material so AWS KMS can securely receive and unwrap it.

    AWS KMS provides a public wrapping key to encrypt key material before import. A customer managed symmetric encryption key is not the wrapping key supplied for the import process.

    Open this question
  23. Question 23

    Data Protection

    A company must rotate an external key store key so new writes use new external material, while historical ciphertext remains decryptable without re-encryption. Applications select the encryption key through an alias; which design meets these requirements?

    Show the answer

    Correct answerA. Create new external and KMS keys, move the alias, and retain the old keys.

    AWhy this is right: The alias directs new encryption to the new pair, while the retained old pair supports historical decryption.

    BWhy not this: The external key associated with an existing external key store KMS key cannot be changed.

    CWhy not this: Deleting the old KMS key prevents historical decryption even if its external material remains available.

    DWhy not this: Replacing the old material loses the material needed for historical decryption and is not the supported manual rotation design.

    Manual rotation uses a new external key and a new associated KMS key, with the alias directing new encryption to the new key. Retaining the old pair preserves historical decryption; an existing external key store KMS key cannot be rebound to another external key.

    Open this question
  24. Question 24

    Data Protection

    Imported key material expires, leaving its symmetric AWS KMS key in PendingImport. The company retains the original material and must decrypt existing ciphertext. What should it do?

    Show the answer

    Correct answerB. Reimport the original material into the existing KMS key.

    AWhy not this: Automatic rotation does not restore expired imported material.

    BWhy this is right: The original material and original KMS key identity are both needed to restore decryption.

    CWhy not this: A new KMS key has a different identity and cannot substitute for the original key when decrypting that ciphertext.

    DWhy not this: New material cannot decrypt ciphertext encrypted with the expired material.

    Reimporting the same material into the same KMS key restores its ability to decrypt existing ciphertext. Importing that material into a new KMS key does not preserve the original KMS key identity associated with the ciphertext.

    Open this question
  25. Question 25

    Data Protection

    An application must make a fresh AWS KMS Decrypt request using a key in an external key store, but the external key store proxy is unreachable. Which recovery action preserves the existing key and ciphertext?

    Show the answer

    Correct answerD. Restore connectivity to the external key store proxy.

    AWhy not this: Changing an alias does not change which key can decrypt ciphertext already encrypted under the original key.

    BWhy not this: An external key store KMS key cannot be converted into a KMS key with imported material.

    CWhy not this: Disconnecting the store prevents cryptographic operations; it does not enable local fallback.

    DWhy this is right: The request requires access through the proxy to the external key manager holding the external key.

    An external key store depends on its proxy and external key manager for cryptographic operations. Restoring connectivity enables the original key to work again; changing an alias does not make a different key able to decrypt existing ciphertext.

    Open this question
  26. Question 26

    Data Protection

    A Secrets Manager rotation function successfully promotes a pending version, but its response is lost. When Secrets Manager retries finishSecret with the same version token, what should the function do?

    Show the answer

    Correct answerA. Return successfully if that version is already AWSCURRENT.

    AWhy this is right: Checking whether the supplied version is already AWSCURRENT lets the function safely recognize completed work.

    BWhy not this: Repeating the database change is unnecessary and can create a mismatch with the stored secret.

    CWhy not this: A retried successful operation does not justify rolling back the current secret version.

    DWhy not this: Generating another password changes an already completed rotation rather than safely handling its retry.

    Rotation steps must be idempotent: if the supplied version is already AWSCURRENT, finishSecret should return successfully. Repeating the password change can cause the database credentials and stored secret to diverge.

    Open this question
  27. Question 27

    Data Protection

    A company wants Amazon EFS Regional files moved to Infrequent Access after 30 days without access and returned to Standard when accessed again. Which lifecycle configuration meets these requirements?

    Show the answer

    Correct answerC. Transition into IA after 30 days; transition into Standard on first access

    AWhy not this: Without a transition into IA policy, inactive files do not automatically move into IA.

    BWhy not this: Archive is a different storage class from the requested Infrequent Access class.

    CWhy this is right: Both the inactivity threshold and the return-on-access behavior match the requirements.

    DWhy not this: Files can be read from IA, but this configuration does not return them to Standard on access.

    EFS Lifecycle Management can transition inactive files into IA and return them to Standard on first access. Disabling transition into Standard still permits access to IA files but does not implement the requested return policy.

    Open this question
  28. Question 28

    Data Protection

    An S3 bucket has versioning and Object Lock enabled. New object versions must automatically receive seven years of retention that even the account root user cannot shorten. Which settings meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Use compliance mode for the default retentionC. Set the default retention duration to seven years

    AWhy not this: Governance retention can be bypassed by users with the required permission and explicit bypass request.

    BWhy this is right: Compliance mode prevents shortening the retention period, including by the account root user.

    CWhy this is right: A bucket default retention duration automatically assigns the required retention period to new object versions.

    DWhy not this: Legal holds have no seven-year duration and can be removed by users with permission.

    A seven-year default retention automatically protects new versions, and compliance mode prevents shortening retention even by the root user. Governance mode permits authorized users to bypass retention, while legal holds have no fixed expiration and can be removed with permission.

    Open this question
  29. Question 29

    Data Protection

    A versioned S3 bucket must expire current versions 90 days after creation and permanently delete previous versions 30 days after they become noncurrent. Which lifecycle configuration meets both requirements?

    Show the answer

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

    AWhy not this: Expired delete marker cleanup does not permanently delete noncurrent data versions or provide this 30-day retention rule.

    BWhy this is right: Current expiration uses object age, while noncurrent expiration uses time since the version became noncurrent.

    CWhy not this: The current and noncurrent retention periods are reversed.

    DWhy not this: A storage-class transition changes storage placement rather than expiring the current version.

    Current-version expiration in a versioned bucket normally creates a delete marker, making the data version noncurrent. Noncurrent-version expiration permanently deletes that version after the specified noncurrent age; deleting expired delete markers does not delete retained data versions.

    Open this question
  30. Question 30

    Data Protection

    Which Amazon FSx for Lustre setting determines how long automatic daily backups are kept?

    Show the answer

    Correct answerB. Automatic backup retention period

    AWhy not this: The maintenance start time schedules maintenance rather than backup expiration.

    BWhy this is right: This setting specifies how many days automatic backups are retained.

    CWhy not this: Deployment type affects file system capabilities, not the configured number of backup retention days.

    DWhy not this: The backup window schedules automatic backups rather than determining their retention.

    The automatic backup retention period controls how long FSx retains automatic daily backups. The daily automatic backup window determines when backups begin, not when they expire.

    Open this question
  31. Question 31

    Data Protection

    An engineer is launching an Amazon EMR cluster on EC2 and will supply PEM certificates for native in-transit encryption. Which actions are required? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Enable in-transit encryption in an EMR security configuration.B. Specify an S3 certificate ZIP location in that configuration.

    AWhy this is right: The EMR security configuration enables native in-transit encryption for supported cluster components.

    BWhy this is right: The S3 ZIP supplies the PEM certificate material required by the selected certificate provider.

    CWhy not this: An HTTPS listener protects connections to a load balancer, not native communication among EMR cluster nodes.

    DWhy not this: EBS encryption protects cluster volumes at rest rather than enabling native in-transit encryption.

    EMR native in-transit encryption requires an encryption-enabled security configuration and certificate material. When using PEM certificates, specify the S3 location of the certificate ZIP; EBS encryption instead protects data at rest.

    Open this question
  32. Question 32

    Data Protection

    Two EC2 instances that support automatic Nitro encryption communicate across VPCs through a transit gateway. The application uses plaintext TCP; what change meets a requirement to encrypt this traffic between the instances?

    Show the answer

    Correct answerD. Configure application TLS between the instances.

    AWhy not this: Traffic traversing a transit gateway does not qualify for automatic Nitro instance-to-instance encryption.

    BWhy not this: EBS encryption protects stored data and volume traffic, not application traffic between EC2 instances.

    CWhy not this: An interface endpoint provides private service access but does not itself encrypt plaintext application traffic.

    DWhy this is right: Application TLS protects traffic between the instances independently of transit gateway routing.

    Application TLS encrypts traffic across the routed path. Automatic Nitro encryption does not cover traffic traversing a transit gateway, even when both endpoint instance types support it.

    Open this question
  33. Question 33

    Data Protection

    An EKS application uses HTTPS from an Application Load Balancer to its ingress pods, but internal services communicate over HTTP across nodes. The services cannot be modified; which change encrypts internal traffic and authenticates workload identities?

    Show the answer

    Correct answerC. Configure service-mesh proxies to enforce mutual TLS.

    AWhy not this: Private API endpoint access protects the control-plane access path, not application traffic between pods.

    BWhy not this: The listener policy governs client-to-load-balancer TLS, not internal service-to-service traffic.

    CWhy this is right: Mesh proxies can encrypt inter-service traffic and authenticate workload identities using mutual TLS.

    DWhy not this: Network policies control permitted traffic but do not provide encryption or certificate-based workload authentication.

    Service-mesh proxies can enforce mutual TLS between workloads without changing application code, providing encryption and certificate-based peer authentication. Network policies restrict permitted connections but do not encrypt traffic or authenticate peers with certificates.

    Open this question
  34. Question 34

    Data Protection

    An application uses the standard Regional AWS Secrets Manager hostname, but DNS returns public addresses despite an available interface VPC endpoint. VPC DNS support and DNS hostnames are enabled; what should the engineer change to use the endpoint without modifying the application?

    Show the answer

    Correct answerD. Enable private DNS on the interface endpoint.

    AWhy not this: TLS enforcement controls transport encryption, not hostname resolution or endpoint selection.

    BWhy not this: A NAT gateway provides outbound connectivity but does not direct the hostname to the interface endpoint.

    CWhy not this: Secrets Manager supports interface endpoints, not gateway endpoints.

    DWhy this is right: Private DNS maps the standard service hostname to the interface endpoint's private IP addresses.

    Private DNS makes the standard Regional Secrets Manager hostname resolve to the interface endpoint's private addresses inside the VPC. Requiring TLS protects transport but does not change DNS resolution or select a private network path.

    Open this question
  35. Question 35

    Data Protection

    A security review requires that shard replication traffic inside an Amazon OpenSearch Service domain be encrypted, in addition to client connections to the domain. Which setting meets this requirement?

    Show the answer

    Correct answerD. Enable node-to-node encryption in the domain's security settings.

    AWhy not this: Encryption at rest protects stored indexes and logs, not traffic between nodes.

    BWhy not this: The endpoint TLS policy protects client connections, not traffic inside the cluster.

    CWhy not this: VPC placement restricts network access but does not encrypt traffic between nodes.

    DWhy this is right: Node-to-node encryption protects traffic between the domain's nodes with TLS.

    Node-to-node encryption adds TLS to traffic between the nodes of an OpenSearch Service domain, including shard replication. Enforcing HTTPS protects client connections to the endpoint, encryption at rest protects stored data, and VPC placement controls who can reach the domain.

    Open this question
  36. Question 36

    Data Protection

    A company imports material from its on-premises key manager into AWS KMS, then deletes the source copy expecting AWS encryption to stop. AWS KMS operations continue. Which explanation BEST accounts for this behavior?

    Show the answer

    Correct answerA. AWS KMS retains an independent copy of the imported material.

    AWhy this is right: Imported material remains in AWS KMS independently of the customer's source copy.

    BWhy not this: Certificate revocation does not control the availability of imported KMS key material.

    CWhy not this: Imported material is stored by AWS KMS, not temporarily cached for access to an external key manager.

    DWhy not this: AWS KMS does not substitute newly generated material when the external source copy is deleted.

    Importing transfers a copy of the material into AWS KMS; deleting the external source does not delete that copy. Unlike an external key store, imported material does not require AWS KMS to contact an external key manager for each cryptographic operation.

    Open this question
  37. Question 37

    Data Protection

    A company requires key material in AWS KMS to become unusable automatically on a specified date, without scheduling deletion of the KMS key. Which configuration meets this requirement?

    Show the answer

    Correct answerD. Imported key material with an expiration date

    AWhy not this: KMS aliases do not support expiration dates and do not control key material availability.

    BWhy not this: A deletion waiting period applies to scheduled deletion of the KMS key, which the requirement excludes.

    CWhy not this: Rotation changes the material used for new encryption but retains older material for decryption.

    DWhy this is right: AWS KMS deletes imported material when its configured expiration date arrives, making the key unusable.

    Imported key material can have an expiration date, after which AWS KMS deletes the material and the key becomes unusable. Key rotation changes the material used for new encryption; it does not expire the key or prevent decryption.

    Open this question
  38. Question 38

    Data Protection

    A team encrypts data directly with a single-Region symmetric KMS key containing imported material, then permanently deletes the KMS key. It imports its retained copy of that material into a new KMS key. What happens when it submits the original ciphertext to AWS KMS for decryption?

    Show the answer

    Correct answerB. Decryption fails because the original key is required.

    AWhy not this: Matching imported bytes do not make a new KMS key interchangeable with the original key for KMS ciphertext.

    BWhy this is right: The new, unrelated KMS key cannot decrypt ciphertext bound to the permanently deleted original key.

    CWhy not this: Rotation does not restore a deleted key or transfer its ciphertext binding to a new key.

    DWhy not this: An alias is a reference to a key; restoring its name does not restore the deleted key's identity.

    Symmetric AWS KMS ciphertext is bound to the KMS key that encrypted it. Retaining imported material does not allow a new, unrelated KMS key to decrypt that ciphertext, and recreating an alias does not restore the deleted key's identity.

    Open this question
  39. Question 39

    Data Protection

    An application uses a KMS key with AWS generated material. A new policy requires customer-generated material while retaining the existing KMS key ID. What should the architect conclude?

    Show the answer

    Correct answerC. The key's origin cannot change; a new key is required.

    AWhy not this: Disabling a key changes its availability, not the origin or import eligibility of its material.

    BWhy not this: Rotation does not convert an AWS_KMS origin key into an EXTERNAL origin key.

    CWhy this is right: The origin is immutable, so using imported material requires a new KMS key and a different key ID.

    DWhy not this: Changing an alias changes a reference to a key, not the key's origin.

    A KMS key's origin is fixed when the key is created. Moving from AWS generated material to imported material requires a new key with EXTERNAL origin; disabling or rotating the existing key does not change its origin.

    Open this question
  40. Question 40

    Data Protection

    A company uses AWS DataSync to copy an on-premises file share to Amazon S3. It requires an additional end-of-transfer integrity check of the files transferred during each execution. Which task setting meets this requirement?

    Show the answer

    Correct answerB. Verify only the data transferred.

    AWhy not this: Preserving destination files controls deletion behavior, not end-of-transfer integrity verification.

    BWhy this is right: Transferred-data verification performs the requested integrity check at the end of the transfer.

    CWhy not this: Transferring changed data controls which files are copied, not the end-of-transfer verification setting.

    DWhy not this: Server-side encryption protects stored data confidentiality, not source-to-destination content verification.

    DataSync's transferred-data verification checks the integrity of transferred data at the end of the transfer. Transferring only changed data reduces transfer volume but does not select the required end-of-transfer verification.

    Open this question
  41. Question 41

    Data Protection

    An S3 bucket contains objects that existed before a Cross-Region Replication rule was enabled and objects uploaded afterward. New objects replicate successfully, but the company also needs replicas of the older objects without reuploading them. What should the engineer configure?

    Show the answer

    Correct answerB. S3 Batch Replication for the older objects

    AWhy not this: Replication Time Control provides predictable replication for eligible new objects, not backfill of existing objects.

    BWhy this is right: S3 Batch Replication can replicate objects that existed before the live replication rule was enabled.

    CWhy not this: Destination versioning supports replication but does not initiate replication of existing source objects.

    DWhy not this: Lifecycle transitions change storage classes; they do not create replicas in another bucket.

    S3 Batch Replication replicates existing objects, including objects created before a replication rule was configured. Live replication handles eligible new writes; Replication Time Control does not backfill older objects.

    Open this question
  42. Question 42

    Data Protection

    Which AWS service automates the creation, retention, and deletion of Amazon EBS snapshots using lifecycle policies?

    Show the answer

    Correct answerD. Amazon Data Lifecycle Manager

    AWhy not this: AWS DataSync transfers data between supported storage locations rather than managing EBS snapshot lifecycles.

    BWhy not this: AWS KMS manages encryption keys rather than scheduling and retaining EBS snapshots.

    CWhy not this: Amazon S3 Lifecycle manages object transitions and expiration, not EBS snapshots.

    DWhy this is right: Amazon Data Lifecycle Manager uses policies to automate EBS snapshot creation, retention, and deletion.

    Amazon Data Lifecycle Manager automates EBS snapshot creation, retention, and deletion through lifecycle policies. Amazon S3 Lifecycle manages S3 objects, not EBS snapshots.

    Open this question
  43. Question 43

    Data Protection

    An S3 bucket uses Object Lock to retain completed objects for seven years, but abandoned multipart uploads are increasing storage costs. Which configuration removes unfinished uploads after seven days without affecting retained objects?

    Show the answer

    Correct answerB. Abort incomplete multipart uploads after seven days.

    AWhy not this: Current-version expiration targets completed objects and does not remove incomplete multipart uploads.

    BWhy this is right: The abort action removes unfinished multipart uploads and their parts without deleting completed objects.

    CWhy not this: Noncurrent-version expiration targets previous object versions, not unfinished multipart uploads.

    DWhy not this: Storage-class transitions apply to completed objects, not parts belonging to incomplete multipart uploads.

    An S3 Lifecycle abort action removes incomplete multipart uploads and their stored parts without affecting completed objects. Object expiration targets completed object versions, not unfinished multipart uploads.

    Open this question
  44. Question 44

    Data Protection

    An AWS Backup vault has compliance-mode Vault Lock with a 90-day minimum and 365-day maximum retention; its grace period has expired. A new backup rule specifying 30-day retention fails, and the organization requires the shortest permitted retention without replacing the vault. What should the engineer do?

    Show the answer

    Correct answerD. Change the backup rule retention to 90 days.

    AWhy not this: Indefinite retention does not satisfy the vault's configured 365-day maximum.

    BWhy not this: An immutable compliance-mode lock cannot be changed to governance mode after its grace period expires.

    CWhy not this: The minimum retention cannot be reduced after the compliance-mode grace period expires.

    DWhy this is right: A 90-day retention satisfies the locked minimum and is within the 365-day maximum.

    Backup retention must fall within the locked vault's permitted range, so 90 days is the shortest acceptable duration. After a compliance-mode grace period expires, the vault lock configuration cannot be changed or removed.

    Open this question
  45. Question 45

    Data Protection

    A team must configure CloudWatch Logs data protection to detect and mask proprietary customer identifiers. Which design choices support this requirement? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Define a custom data identifier with a regular expression.D. Use matching data identifiers in the Audit and Deidentify statements.

    AWhy not this: KMS encryption protects stored data but does not mask sensitive fields when logs are read.

    BWhy this is right: Custom data identifiers use regular expressions to recognize organization-specific sensitive data.

    CWhy not this: Metric filters extract metrics from matching events without masking their contents.

    DWhy this is right: Audit and Deidentify statements must specify the same data identifiers.

    EWhy not this: Subscription filters route matching events; they do not redact the source log events.

    FWhy not this: Managed data identifiers cover predefined types such as credit card numbers, not a company's own identifier format.

    A custom data identifier with a regular expression detects an organization-specific format, and the Audit and Deidentify statements must name the same data identifiers. Masking works in both the Standard and Essentials log classes. Metric filters and subscription filters do not mask log text.

    Open this question
  46. Question 46

    Data Protection

    An existing Amazon SNS message data protection customer must accept sensitive messages, deliver originals to an internal subscriber, and deliver redacted copies to a partner account. Which policy design meets these requirements?

    Show the answer

    Correct answerB. Apply outbound Deidentify with redaction to the partner account's principal.

    AWhy not this: Outbound Deny blocks matching deliveries to the partner rather than delivering redacted copies.

    BWhy this is right: Outbound redaction scoped to the partner account preserves original delivery to the internal subscriber.

    CWhy not this: Inbound redaction affects the message before fan-out, preventing the internal subscriber from receiving the original.

    DWhy not this: Audit detects and reports sensitive data but does not redact the partner's message.

    Outbound Deidentify can redact sensitive data for the specified receiving principal while leaving other subscribers' deliveries unchanged. Inbound de-identification changes the message before delivery to all subscribers, so the internal subscriber would not receive the original.

    Open this question
  47. Question 47

    Data Protection

    Which capability distinguishes imported key material from key material generated by AWS KMS?

    Show the answer

    Correct answerA. Retaining an independent copy outside AWS KMS

    AWhy this is right: Customers can retain the externally generated material; AWS KMS-generated key material cannot be exported.

    BWhy not this: Key policies control access to KMS keys with either origin of key material.

    CWhy not this: CloudTrail records supported KMS operations regardless of the key material's origin.

    DWhy not this: KMS keys with imported or AWS KMS-generated material can be disabled.

    Customers generate imported key material outside AWS KMS and can retain an independent copy. Key policies, CloudTrail logging, and disabling keys are available for both imported and AWS KMS-generated material.

    Open this question
  48. Question 48

    Data Protection

    A CloudWatch Logs data protection policy masks sensitive fields in newly ingested events, but matching fields remain visible in older events to the same reader. What BEST explains this difference?

    Show the answer

    Correct answerD. The policy applies only to events ingested after it took effect.

    AWhy not this: Running a Logs Insights query does not apply ingestion-time masking to historical events.

    BWhy not this: KMS decryption permission does not determine whether sensitive fields receive data protection masking.

    CWhy not this: Changing retention controls event expiration, not retroactive sensitive-data masking.

    DWhy this is right: Masking is applied at ingestion, so a new policy does not retroactively mask existing events.

    CloudWatch Logs data protection policies do not mask events ingested before the policy took effect. KMS decryption permission does not selectively bypass masking for older events.

    Open this question
  49. Question 49

    Data Protection

    CloudWatch Logs masks sensitive fields for operations staff. Incident responders need to retrieve the original values without changing the data protection policy; which additional permission should their role receive?

    Show the answer

    Correct answerD. logs:Unmask

    AWhy not this: Decrypting encrypted data does not grant permission to bypass CloudWatch Logs masking.

    BWhy not this: This permission changes a data protection policy rather than authorizing retrieval of unmasked values.

    CWhy not this: This permission configures log forwarding, not access to original masked values.

    DWhy this is right: This permission allows authorized responders to request original values through supported unmasking operations.

    The logs:Unmask permission authorizes access to original values through supported unmasking requests. KMS decryption permission addresses encryption at rest and does not independently authorize bypassing data protection masking.

    Open this question
  50. Question 50

    Data Protection

    A company must issue and revoke TLS certificates for internal services and mutual TLS clients under its own CA hierarchy. The certificates must not be publicly trusted, and the company does not want to operate CA servers. Which service meets these requirements?

    Show the answer

    Correct answerD. AWS Private Certificate Authority

    AWhy not this: AWS KMS manages encryption and signing keys rather than issuing certificates as a CA.

    BWhy not this: ACM public certificates chain to a public CA, so they are publicly trusted and not under the company's hierarchy.

    CWhy not this: CloudHSM provides dedicated hardware security modules, not a managed certificate authority.

    DWhy this is right: AWS Private Certificate Authority provides managed private CAs for issuing and revoking certificates.

    AWS Private Certificate Authority runs managed private root and subordinate CAs that issue and revoke certificates trusted only where the company installs its CA certificates. ACM public certificates are publicly trusted and are not issued from the company's own hierarchy, and AWS KMS manages keys rather than acting as a CA.

    Open this question