DOP-C02 - Security and Compliance - Section 6.4

Automate data protection with AWS Key Management Service, encryption enforcement, Amazon S3 access controls and certificate management with AWS Certificate Manager.

Enforce encryption at rest using AWS Key Management Service customer managed keys and bucket-level S3 Block Public Access settings to prevent accidental data exposure. Automate TLS certificate provisioning and renewal with AWS Certificate Manager to eliminate manual certificate management.

AWS Key Management ServiceEncryption enforcementS3 Block Public AccessAWS Certificate Manager

Practice question for this objective

Free sampleSecurity and Compliancemedium

A central security account owns a customer managed "AWS Key Management Service" key used to encrypt shared application data. Workloads running in several other accounts in the same organisation must be able to decrypt that data using the key, but the security account must retain full administrative control of the key and be able to revoke a single account's access without recreating the key. Which approach BEST grants cross-account decrypt access while keeping control central?

  • AExport the key material from the security account and import the same material into a customer managed key in each consuming account so they can decrypt locally.
  • BGrant decrypt access in the KMS key policy to each consuming account and have those accounts delegate the permission with "AWS Identity and Access Management" policies, revoking one by removing it from the key policy. Correct
  • CMake the key an "AWS" managed key in the security account and add the consuming account numbers to its automatically generated key policy so they inherit decrypt rights.
  • DCreate a "KMS" key alias in each consuming account that points at the security account key so the workloads resolve the alias locally and decrypt the shared data.
Grant cross-account KMS decrypt by allowing the external account in the key policy and delegating via IAM, revoking access by editing the key policy. Cross-account access to a KMS key is granted in two parts: the key policy in the owning account must permit the external account principal, and that account then delegates the permission to its own identities through IAM policies; because the owning account controls the key policy, it retains full administration and can revoke a single account's access simply by removing that account's statement, all without recreating the key or changing the encrypted data.

Why A is wrong: Exporting and importing material into separate keys removes central control entirely and means revoking one account requires touching every copy, the opposite of the centralised, individually revocable access the requirement demands.

Why B is correct: Cross-account KMS access requires the key policy in the owning account to allow the external account, after which each account grants its own principals via IAM; the security account keeps administration and can revoke a single account by removing its statement from the key policy without recreating the key.

Why C is wrong: AWS managed keys cannot have their key policy edited to grant cross-account access and cannot be shared this way, so this option misuses the key type and cannot satisfy the cross-account decrypt need.

Why D is wrong: A KMS alias is only a local friendly name within one account and cannot reference a key in another account, so it grants no permission and does not provide cross-account access at all.

See more DOP-C02 practice questions, answers explained.

More in this domain

Back to all Security and Compliance objectives, or the DOP-C02 cert hub.

Examworthy is not affiliated with or endorsed by Amazon Web Services. Original, blueprint-aligned practice material only.