Question 330
A team imports key material into KMS. Who must keep a recoverable external copy when required by its recovery design?
- The ciphertext stored by applications
- The key alias automatically
- The source ciphertext can regenerate the external key bytes
- The customer controlling the imported material
Explanation
Correct Answer
D:Imported material has customer-managed provenance and lifecycle obligations; KMS cannot recreate externally generated bytes that the customer permanently loses.
Incorrect Answers
A:Ciphertext is not a recoverable external copy of imported secret material and does not let the customer recreate permanently lost key bytes.
B:An alias references a logical key and does not contain or recreate the externally supplied cryptographic material.
C:Properly encrypted data does not let the customer reconstruct lost secret material solely from the ciphertext it protected.
Question 331
An imported KMS key's original material expires. The customer retained a secure copy of those exact bytes and needs to decrypt earlier ciphertext under that same KMS key. What restores the missing dependency?
- Only increase the application's retry count
- Import unrelated fresh bytes and assume old ciphertext decrypts
- Only recreate the same alias on a new KMS key
- Reimport the original material into the original KMS key through the supported import process
Explanation
Correct Answer
D:The expired material can be restored from the customer's retained copy. A different secret or unrelated logical key is not a substitute for the original cryptographic dependency.
Incorrect Answers
A:Repeated requests cannot reconstruct unavailable secret bytes; the missing key-material dependency must first be restored.
B:Fresh entropy does not recreate the original key material required to recover data encrypted under the expired material.
C:Matching a reference name does not recreate the original key identity and cryptographic material associated with the ciphertext.
Question 332
An external key-store design requires cryptographic operations to depend on a customer-operated key manager outside AWS KMS. Which option fits?
- A KMS external key store
- A standard AWS-generated KMS key only
- A multi-Region key with AWS-generated material alone
- A standard custom key store backed only by CloudHSM in AWS
Explanation
Correct Answer
A:The external manager participates in the supported cryptographic path, creating customer-controlled availability and latency dependencies that the design must account for.
Incorrect Answers
B:The normal managed-material model does not make the cryptographic operation depend on the customer's external key manager in the requested way.
C:Regional cryptographic replication does not create the required customer-operated external key-manager dependency or external custody model.
D:A CloudHSM custom store has a different hosting and control model from the requested external key-manager dependency outside AWS KMS.
Question 333
An external key manager becomes unavailable. What must an external-key-store workload plan for?
- Failures or delays in dependent cryptographic operations
- Only a cosmetic console warning
- Automatic unlimited fallback to an unrelated AWS key
- Every ciphertext becoming readable without authorization
Explanation
Correct Answer
A:External custody creates an availability dependency; the application and operational design must handle loss of that required external service.
Incorrect Answers
B:The unavailable cryptographic dependency can affect real application reads and writes, not merely management-interface appearance.
C:A different key cannot generally decrypt ciphertext protected by the unavailable external-key path without a predesigned compatible recovery mechanism.
D:Loss of the key service does not remove cryptographic protection or make the encrypted data public plaintext.
Question 334
An organization needs identical AWS-generated multi-Region key material in a disaster-recovery Region. Which KMS feature is relevant?
- A copy of the key policy attached to a new unrelated key
- A related multi-Region replica key
- Two unrelated single-Region keys with matching aliases
- An S3 cross-Region bucket name
Explanation
Correct Answer
B:Related keys share cryptographic material and identity characteristics while remaining Regional resources with independently managed policies and operational settings.
Incorrect Answers
A:Equivalent permissions do not make independently generated key material compatible with ciphertext protected by the original key.
C:An alias name does not make independently generated key material cryptographically equivalent across Regions.
D:Storage naming does not establish the related key material required for multi-Region cryptographic interoperability.
Question 335
A multi-Region replica exists, but its access policy does not permit the recovery role. What should be corrected?
- Only the primary key's alias
- The replica's Regional authorization configuration
- Only the primary Region's role assignment
- Only the replication status showing material is synchronized
Explanation
Correct Answer
B:Shared material does not imply identical policies. The recovery identity needs the required permissions on the replica actually used in that Region.
Incorrect Answers
A:A primary-region reference does not automatically grant the recovery principal access to the separately configured replica resource.
C:Authorization must permit use of the replica actually invoked in the recovery Region; shared material does not replicate every local permission setting.
D:Material availability does not prove that the recovery role is authorized under the replica's independently managed Regional policy.
Question 336
A team wants to restrict KMS use to requests made through a supported integrated service. Which condition is relevant?
- kms:ViaService
- Only a condition on an unrelated S3 prefix
- Only a blanket Decrypt allow to the application role
- Only a condition on the key's friendly alias text
Explanation
Correct Answer
A:This condition can constrain supported service-mediated key use, preventing an otherwise allowed principal from using the key through an unintended direct path.
Incorrect Answers
B:A storage prefix can constrain object access but does not directly express that KMS requests must come through the approved integrated service.
C:An unconstrained cryptographic grant does not distinguish direct KMS requests from use through the approved integrated service.
D:An alias can select a key in some authorization contexts but does not establish that the request came through the intended service path.
Question 337
A KMS encryption context contains a customer password. Why is that inappropriate?
- Encryption context is automatically erased before logging
- Encryption context values are protected like a secret value
- Encryption context replaces the ciphertext entirely
- Encryption context is not secret and may appear in audit records
Explanation
Correct Answer
D:It is authenticated additional data rather than encrypted confidential payload, so sensitive credentials should not be placed in its values.
Incorrect Answers
A:The context can be present in audit evidence, so assuming secrecy would expose the password beyond its intended holders.
B:The context is authenticated additional data rather than a confidential credential store and may be visible in audit evidence.
C:It supplements cryptographic binding and policy decisions rather than being the encrypted data itself.
Question 338
Decryption supplies different authenticated encryption context from the original encryption. What should be expected?
- Decryption fails because the context must match
- KMS silently ignores all context
- KMS changes the original context to match the caller
- KMS accepts any context from an administrator
Explanation
Correct Answer
A:The context is cryptographically bound to supported ciphertext, so an authorized caller still needs the correct values rather than an approximate description.
Incorrect Answers
B:Ignoring it would defeat the authenticated binding that allows context to contribute to integrity and authorization decisions.
C:Decrypt does not rewrite the protected ciphertext's original authenticated context merely to make a mismatched request succeed.
D:Authorization does not remove the ciphertext's authenticated context binding; even a privileged caller needs the matching cryptographic inputs.
Question 339
A service needs temporary delegated use of a KMS key for a supported workflow. Which KMS construct can provide that authorization?
- Only a key policy granting the service all key administration
- A scoped KMS grant
- Only passing the service the key ARN
- A key alias shared with the service
Explanation
Correct Answer
B:Grants authorize selected cryptographic operations for a grantee and can include constraints, supporting service workflows without unrestricted key administration.
Incorrect Answers
A:Broad management rights exceed the temporary scoped cryptographic delegation requirement and are not a substitute for a narrowly defined grant.
C:Resource identification does not itself authorize the service to perform selected KMS operations or impose grant-specific constraints.
D:A reference identifies the key but does not grant selected cryptographic operations to the service grantee.
Question 340
A newly created KMS grant is not yet visible through eventual consistency. What can a supported immediate request include?
- The encrypted data key as a replacement for authorization
- Only a retry with a different key alias
- The grant token
- The key administrator's console password
Explanation
Correct Answer
C:A token can allow the request to use the new grant before its authorization has fully propagated, without replacing the grant's scope or grantee identity.
Incorrect Answers
A:Ciphertext is a cryptographic input, not evidence that the newly created grant has propagated or a substitute for its grant token.
B:Changing the reference does not address the new grant's consistency state and may select an unintended key rather than the authorized resource.
D:Passwords are not a supported substitute for KMS grant-token propagation handling in the cryptographic API request.