4 of the 6 questions we have for this objective, shown with the answer and the reasoning.
Design solutions to implement encryption and key management strategies
Orrin Medical Devices sends patient-derived data keys to AWS KMS and retrieves database credentials from AWS Secrets Manager, and this data must stay confidential for 25 years. It also signs firmware for implanted devices that remain in service for 15 years. The security team is worried about adversaries recording traffic today to decrypt it later with a quantum computer, and about future forgery of firmware signatures. Data at rest is encrypted with symmetric KMS keys (AES-256-GCM).
Which plan addresses these risks with the least unnecessary work?
- AMove all keys to an AWS CloudHSM cluster and switch firmware signing to RSA_4096 keys.Larger RSA keys are not quantum resistant, and moving keys to CloudHSM does not change how data is protected in transit.
- BRoute all calls to AWS KMS and Secrets Manager through an AWS Site-to-Site VPN connection.IPsec VPNs with classic key exchange face the same harvest-now-decrypt-later risk, so this adds a dependency without solving the problem.
- CRe-encrypt all data at rest every year with new symmetric KMS keys from a CloudHSM custom key store, and keep signing firmware with the current ECDSA_P384 KMS key.AES-256-GCM is already considered quantum resistant, so yearly re-encryption adds work without addressing the real risks: classic TLS key exchange and classic signatures.
- DUse hybrid post-quantum TLS (ML-KEM) in the AWS SDKs for calls to AWS KMS and Secrets Manager, and sign new firmware with an AWS KMS key that uses an ML-DSA key spec.Hybrid ML-KEM TLS protects data in transit against harvest-now-decrypt-later attacks, CloudTrail shows the key exchange used for each call, and ML-DSA keys give quantum-resistant signatures for long-lived firmware.
Why: A post-quantum strategy starts by locating which cryptography a future quantum computer would break. Symmetric AES-256 at rest is considered safe. Public-key key exchange in TLS and classic signatures are not, so long-lived secrets in transit need hybrid post-quantum TLS (ECDH combined with ML-KEM), which AWS KMS, ACM and Secrets Manager endpoints support, and long-lived signatures need ML-DSA, which AWS KMS offers as ML_DSA_44, ML_DSA_65 and ML_DSA_87 key specs. CloudTrail records the negotiated key exchange, which gives a way to find clients that are not yet using it.
Design solutions to implement encryption and key management strategies
Norland Retail keeps its data lake in an S3 bucket in account datalake-prod (111122223333), encrypted with SSE-KMS using a customer managed key named key-datalake. An Amazon Athena workgroup in account analytics-prod (777788889999) runs under an IAM role named AthenaQueryRole. The bucket policy already allows AthenaQueryRole to read the objects, but queries fail with KMS AccessDenied errors. Security requires least privilege.
What should the solutions architect do to allow the queries to succeed?
- AAllow kms:Decrypt for the AthenaQueryRole ARN in the key-datalake key policy, and allow kms:Decrypt on the key-datalake ARN in the IAM policy of AthenaQueryRole.Cross-account use of a KMS key needs both sides: the key policy in 111122223333 must allow the external role, and the role's identity policy in 777788889999 must allow the action on that key.
- BRe-encrypt the data lake with the AWS managed key aws/s3 and share that key with analytics-prod.AWS managed keys cannot have their key policies changed, so they cannot be used for cross-account access.
- CAdd a statement to the key-datalake key policy that allows kms:* for the analytics-prod account root principal, so that every role in 777788889999, including AthenaQueryRole, can use the key.Granting kms:* is far broader than needed, and a grant to the account root only delegates to that account: without an identity policy in analytics-prod the role still would not be allowed to use the key.
- DAttach an IAM policy to AthenaQueryRole that allows kms:Decrypt on the key-datalake ARN. No other change is needed.For cross-account KMS access, the key policy in the owning account must also allow the external principal. An identity policy alone is not sufficient.
Why: AWS KMS authorization requires the key policy to permit access; IAM policies only take effect for a key when the key policy allows them. When the caller is in another account, the key policy must name that account or role, and the caller's account must also grant the permission with an identity policy. Only the necessary operations, such as kms:Decrypt for reads, should be granted. AWS managed keys cannot be shared across accounts because their policies are fixed, which is a common reason to use customer managed keys for shared data.
Design solutions to implement encryption and key management strategies
Delmont Securities must meet a regulation that requires its encryption keys to be held in single-tenant hardware security modules under its exclusive control inside AWS. The company still wants Amazon S3, Amazon EBS and Amazon RDS to encrypt data with these keys through their normal AWS KMS integration, with the HSMs spread across two Availability Zones.
Which solution meets these requirements?
- ARun open-source key management software on dedicated Amazon EC2 hosts and call it from each application.Dedicated hosts are not validated HSMs, and S3, EBS and RDS cannot use such a key manager through their KMS integration.
- BCreate customer managed KMS keys with key material imported from the company's own HSM, and set an expiration date on the material so the company can withdraw it at any time.Imported key material controls where the key came from and when it expires, but the keys still live in the shared, multi-tenant AWS KMS HSM fleet.
- CCreate an AWS CloudHSM cluster with HSMs in two Availability Zones and use it as an AWS KMS custom key store for the S3, EBS and RDS keys.CloudHSM provides single-tenant HSMs under the customer's control, and a CloudHSM key store lets KMS-integrated services use keys whose material is generated and stored in those HSMs.
- DCreate AWS KMS multi-Region keys and replicate them to a second Region.Multi-Region keys help with cross-Region encryption, but they are still standard KMS keys in shared HSMs.
Why: AWS KMS keys live in AWS-managed HSMs shared across customers, which satisfies most needs. When a regulation demands dedicated, single-tenant HSMs under exclusive customer control, AWS CloudHSM is the answer, and a KMS custom key store backed by a CloudHSM cluster keeps the convenience of KMS integration for services such as S3, EBS and RDS. The cluster should have HSMs in at least two Availability Zones for availability.
Design solutions to implement encryption and key management strategies
Wexcombe Insurance encrypts policy documents client-side with the AWS Encryption SDK in us-east-1 and replicates the ciphertext to us-west-2 with S3 Replication. Its disaster recovery plan requires that the application in us-west-2 can decrypt every document even if us-east-1 is completely unavailable, and that decryption in us-west-2 makes no cross-Region API calls. Documents are currently encrypted with a single-Region customer managed key.
What should the solutions architect do?
- AGrant the us-west-2 application role kms:Decrypt on the us-east-1 key in its key policy.This still requires calls to the KMS endpoint in us-east-1, which would fail if that Region is unavailable and violates the no cross-Region calls requirement.
- BCreate a single-Region key in us-west-2 with imported key material identical to the us-east-1 key, and configure the Encryption SDK keyring in us-west-2 to use that local key for decryption.Even with identical imported material, two single-Region keys have different key IDs and are not interoperable, so the Encryption SDK cannot decrypt one key's ciphertext with the other.
- CConvert the existing single-Region key to a multi-Region key with the UpdatePrimaryRegion operation, and replicate it to us-west-2 with ReplicateKey.An existing single-Region key cannot be converted to a multi-Region key; UpdatePrimaryRegion and ReplicateKey work only on keys that were created as multi-Region keys.
- DCreate a new multi-Region primary key in us-east-1 with a replica in us-west-2, and re-encrypt the documents under the multi-Region key.Related multi-Region keys share the same key material and key ID, so ciphertext produced with the primary in us-east-1 can be decrypted by the replica in us-west-2 without calling us-east-1.
Why: AWS KMS multi-Region keys are a set of interoperable keys in different Regions that share key material and key ID. Data encrypted in one Region can be decrypted in another with the local related key, which is the main use case for client-side encryption in disaster recovery and global applications. Each related key has its own key policy, grants and alias, so access is still managed per Region. Existing single-Region keys cannot be converted, so adoption requires re-encrypting data under a new multi-Region key.