1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What is the fundamental security guarantee and cryptographic compliance standard achieved by AWS KMS regarding the physical backing material of its symmetric keys?
A) It guarantees that physical key material is dynamically replicated across all AWS regions simultaneously to achieve FIPS 140-3 Level 4 compliance.
B) It ensures that administrators can manually export the physical key material directly into local on-premises Hardware Security Modules (HSMs) using STS tokens.
C) It guarantees that the physical key material never leaves the KMS service boundary unencrypted, successfully achieving FIPS 140-2 Level 2 compliance.
D) It mandates that all physical key material is generated directly by the AWS Account Root User and stored in Amazon Glacier Deep Archive.
E) It ensures that physical key material automatically expires every 90 days, natively bypassing organizational Service Control Policies (SCPs).
F) It guarantees that physical key material is completely replaced with temporary IAM Identity tokens during Web Identity Federation logins.
Correct Answer: C - It guarantees that the physical key material never leaves the KMS service boundary unencrypted, successfully achieving FIPS 140-2 Level 2 compliance.
An architect attempts to directly encrypt a 50 MB application log file by explicitly passing the raw file data payload directly to the KMS Encrypt API. What is the architectural result of this operation?
A) The operation temporarily provisions an EC2 execution environment to compress the log file using standard gzip algorithms before encrypting.
B) The operation successfully fragments the payload into a standard S3 Multi-part Upload stream and encrypts each 5 MB part individually.
C) The operation automatically invokes the AWS CloudTrail engine to parse the log file into a highly structured JSON format before proceeding.
D) The operation succeeds, but implicitly downgrades the encryption strength from AES-256 to AES-128 to compensate for the massive payload.
E) The operation explicitly fails because the KMS direct encryption API is structurally restricted to a strict 4 KB data payload limit.
F) The operation succeeds by automatically generating a Web Identity Federation token to bypass standard network bandwidth throttles.
Correct Answer: E - The operation explicitly fails because the KMS direct encryption API is structurally restricted to a strict 4 KB data payload limit.
When utilizing Data Encryption Keys (DEKs) to encrypt massive data volumes (a process known as Envelope Encryption), what is the exact architectural workflow mandated for handling the Plaintext DEK?
A) The Plaintext DEK must be securely stored inside a dedicated DynamoDB table alongside the encrypted data object to facilitate rapid decryption queries.
B) The Plaintext DEK is used locally to encrypt the massive data payload, and then it must be permanently discarded, while the Ciphertext DEK is saved alongside the encrypted data.
C) The Plaintext DEK is programmatically passed to the Secure Token Service (STS) to automatically generate a long-term Identity Policy for the AWS Account Root User.
D) The Plaintext DEK is permanently embedded within the application's source code, allowing the compute environment to bypass subsequent API requests.
E) The Plaintext DEK must be transmitted back to the primary KMS boundary where it is permanently archived within an Amazon S3 bucket.
F) The Plaintext DEK is automatically converted into an active Service-Linked Role, explicitly granting the application permission to modify CloudWatch Metric Filters.
Correct Answer: B - The Plaintext DEK is used locally to encrypt the massive data payload, and then it must be permanently discarded, while the Ciphertext DEK is saved alongside the encrypted data.
When an administrator successfully invokes the KMS GenerateDataKey API, the service returns both a Plaintext DEK and a Ciphertext DEK. How does the KMS backend securely store this newly generated DEK for future decryption requests?
A) KMS permanently stores the generated DEK inside a hidden partition within the central Identity Account to facilitate cross-regional access.
B) KMS temporarily caches the generated DEK inside a heavily restricted S3 bucket until the attached AWS Service completes its internal writing process.
C) KMS embeds the generated DEK directly into the active Organizational Unit's Service Control Policy (SCP) for compliance auditing.
D) KMS does not store the generated DEK anywhere within its infrastructure; it simply generates it, returns it to the client, and immediately forgets it.
E) KMS stores the generated DEK inside the specific Customer Managed Key container, linking it permanently to the associated Key ID.
F) KMS stores the generated DEK by appending it to a globally distributed Active Directory Federation Services (ADFS) verification token.
Correct Answer: D - KMS does not store the generated DEK anywhere within its infrastructure; it simply generates it, returns it to the client, and immediately forgets it.
When an application needs to decrypt a small text string previously encrypted directly by KMS, the developer notices they do not need to provide the original KMS Key ID in the Decrypt API call. Why is this architecturally possible?
A) Because KMS automatically encodes the specific KMS Key ID metadata directly within the generated Ciphertext blob itself during the initial encryption phase.
B) Because the underlying FullAWSAccess managed policy automatically grants the Decrypt API full administrative bypass across all available Key IDs.
C) Because the IAM user automatically generates a temporary iam:PassRole token that globally overrides the missing Key ID parameter.
D) Because KMS dynamically scans the AWS CloudTrail event history to mathematically deduce which Key ID was utilized during the initial request.
E) Because cross-account Web Identity Federation inherently strips the Key ID requirement to ensure compatibility with on-premises networks.
F) Because the application natively assumes a Service-Linked Role that explicitly authorizes decryption against the default AWS Account Root User key.
Correct Answer: A - Because KMS automatically encodes the specific KMS Key ID metadata directly within the generated Ciphertext blob itself during the initial encryption phase.
What is a defining architectural distinction between an "AWS Managed" KMS Key and a "Customer Managed" KMS Key?
A) AWS Managed Keys permit administrators to manually extract the physical backing material for use in on-premises data centers, whereas Customer Managed Keys do not.
B) AWS Managed Keys can natively bypass the 4 KB direct encryption limit, whereas Customer Managed Keys strictly mandate the use of Envelope Encryption.
C) AWS Managed Keys are immune to explicit denies originating from Service Control Policies (SCPs), whereas Customer Managed Keys are routinely blocked.
D) AWS Managed Keys provide global cross-region accessibility by default, whereas Customer Managed Keys are permanently locked to a single Availability Zone.
E) AWS Managed Keys force all incoming IAM requests to authenticate via multi-factor authentication (MFA Delete), whereas Customer Managed Keys use standard access logs.
F) AWS Managed Keys are automatically generated by AWS, strictly enforce a mandatory 1-year rotation schedule, and their underlying Key Policies cannot be manually edited by the customer.
Correct Answer: F - AWS Managed Keys are automatically generated by AWS, strictly enforce a mandatory 1-year rotation schedule, and their underlying Key Policies cannot be manually edited by the customer.
When an administrator successfully triggers a cryptographic rotation for a Customer Managed KMS Key, what exactly happens to the underlying physical key material within the KMS hypervisor?
A) The old material is permanently deleted to enforce a Zero Trust architecture, rendering all historically encrypted objects completely inaccessible.
B) A new physical backing material is generated to encrypt all future data, but the old material is permanently retained within KMS to ensure previously encrypted data can still be successfully decrypted.
C) The old material is actively exported as a raw JSON blob to the administrator's local workstation, effectively transferring the storage liability away from AWS.
D) A new physical backing material is generated, which triggers an automated background process to recursively re-encrypt every single historical S3 object across the entire account.
E) The old material is dynamically merged with an STS temporary token, effectively transforming the existing symmetric key into an asymmetric key pair.
F) The rotation immediately triggers a mandatory transition of the KMS Key into a "Suspended" versioning state, rejecting all incoming s3:PutObject requests.
Correct Answer: B - A new physical backing material is generated to encrypt all future data, but the old material is permanently retained within KMS to ensure previously encrypted data can still be successfully decrypted.
Unlike standard AWS services where attaching an AdministratorAccess IAM Identity Policy grants full operational access, a user with this policy is completely denied access to a newly provisioned KMS Key. What is the fundamental architectural reason for this explicit denial?
A) The administrator explicitly requires a localized Active Directory user profile to successfully bypass the default Web Identity Federation restrictions.
B) The active KMS Key is natively constrained by an implicit network boundary that strictly rejects requests originating from outside the primary VPC.
C) KMS does not implicitly trust the AWS account it resides in; the KMS Key Policy (Resource Policy) must contain an explicit trust statement delegating permissions back to the account's IAM policies.
D) The IAM Identity Policy is missing the highly specialized iam:PassRole directive, which is natively required to assume cryptographic execution roles.
E) The centralized Organization Root container automatically applies an overriding Service Control Policy (SCP) that implicitly denies the kms:GenerateDataKey action.
F) The Account Root User must authenticate via MFA and generate a dedicated temporary S3 pre-signed URL before interacting with the KMS console.
Correct Answer: C - KMS does not implicitly trust the AWS account it resides in; the KMS Key Policy (Resource Policy) must contain an explicit trust statement delegating permissions back to the account's IAM policies.
How can a KMS Key Policy be strategically architected to enforce strict "Role Separation" between a centralized corporate Security Team and a standard Development Team?
A) By utilizing Web Identity Federation to completely bypass the Security Team and directly authenticate the Development Team via Amazon Cognito.
B) By appending a conditional statement that forcefully transitions the Development Team's identity roles into a Suspended Versioning state during off-peak hours.
C) By attaching an explicit IAM group block that redirects all incoming Development Team API calls entirely through a centralized CloudWatch Metric Filter.
D) By permanently nesting the Development Team within a Sandbox Organizational Unit (OU) that restricts all programmatic read access to the master billing account.
E) By configuring the Resource-Based Key Policy to explicitly allow the Security Team to manage and rotate the key, while completely restricting them from using the key to encrypt or decrypt actual application data.
F) By forcing the Security Team to exclusively deploy cross-account Service-Linked Roles, preventing the Development Team from accessing underlying root user credentials.
Correct Answer: E - By configuring the Resource-Based Key Policy to explicitly allow the Security Team to manage and rotate the key, while completely restricting them from using the key to encrypt or decrypt actual application data.
What is the primary operational advantage of utilizing a KMS Key Alias (e.g., alias/myapp-key) within an enterprise application's underlying cryptographic architecture?
A) It acts as a global namespace identifier, seamlessly allowing applications to natively transfer symmetric keys across completely isolated AWS Regions.
B) It structurally bypasses the stringent FIPS 140-2 physical security constraints, maximizing decryption speeds for edge-located mobile applications.
C) It dynamically leverages the AWS Secure Token Service (STS) to generate temporary cross-account encryption passwords that expire after precisely 15 minutes.
D) It functions as an abstraction layer, allowing administrators to seamlessly swap out the underlying KMS Key ID in the background without requiring any hardcoded modifications to the application's source code.
E) It automatically increases the direct API encryption payload threshold from 4 KB to a maximum of 5 GB for highly optimized internal networking.
F) It natively converts standard symmetric block ciphers into asymmetric public-private key pairs without disrupting active database connections.
Correct Answer: D - It functions as an abstraction layer, allowing administrators to seamlessly swap out the underlying KMS Key ID in the background without requiring any hardcoded modifications to the application's source co