AWS KMS and Encryption
82 soru
A developer is building a document processing application that must secure sensitive PDF documents before uploading them to a third-party storage service. The average size of each document is . To meet security requirements, the developer must encrypt the documents client-side using an AWS KMS Customer Managed Key (CMK) while minimizing latency and network overhead. Which approach should the developer implement to encrypt these documents securely and efficiently?
An application running on AWS Fargate generates monthly audit reports (each approximately in size) that must be encrypted client-side before they are stored in an external third-party storage system. The developer wants to use AWS Key Management Service (AWS KMS) with a customer managed key to secure these reports.
Which of the following actions must the developer take to implement this client-side encryption workflow? (Select TWO.)
Geçerli olan tümünü seçin
A developer is designing a microservice that processes sensitive transaction payloads of approximately each. The microservice must encrypt these payloads before storing them in an on-premises database. The encryption keys must be managed in AWS KMS. Which approach should the developer use to perform the encryption in a secure and efficient manner?
An application running on Amazon ECS container instances in Account A needs to decrypt sensitive data files stored in an Amazon S3 bucket. The files are encrypted using an AWS KMS Customer Managed Key (CMK) located in Account B. The developer needs to configure the permissions to allow the application to decrypt these files.
Which of the following actions must be taken to grant the application the required permissions? (Choose two.)
Geçerli olan tümünü seçin
A developer is designing a serverless backend using AWS Lambda that processes sensitive customer records. Each record contains a profile payload averaging KB in size. The application must encrypt these payloads before storing them in an Amazon DynamoDB table. To meet strict performance and cost-efficiency requirements, the developer must implement client-side envelope encryption using a Customer Managed Key (CMK) managed by AWS KMS. Which of the following application workflows represents the most secure, cost-effective, and architecturally correct implementation of client-side envelope encryption?
A developer is building a high-security microservice that processes sensitive transaction payloads. The application uses client-side envelope encryption with an AWS KMS customer managed key. The developer must ensure that:
1. The encrypted transaction payloads are cryptographically bound to a specific and to prevent decryption under any other context.
2. All cryptographic operations are logged in AWS CloudTrail with these context details for compliance auditing.
Which two actions must the developer take to implement this encryption workflow?
Geçerli olan tümünü seçin
A developer is writing a backup utility that must encrypt database export files, each approximately in size, before uploading them to an Amazon S3 bucket. The utility must use client-side envelope encryption with an AWS Key Management Service (AWS KMS) customer managed key.
Which two steps must the developer implement in the utility's code to encrypt the files securely and prepare them for storage?
Geçerli olan tümünü seçin
A developer is designing a serverless document management system where users upload sensitive documents of approximately each. The application must perform client-side envelope encryption on these documents before uploading them to an Amazon S3 bucket. The developer wants to use an AWS KMS customer managed key for this process.
Which of the following actions must the developer perform to encrypt the documents and prepare them for storage? (Select TWO.)
Geçerli olan tümünü seçin
A developer needs to encrypt database backup files, each approximately in size, before uploading them to an Amazon S3 bucket. The security policy requires client-side encryption using a customer managed key in AWS KMS. Which of the following actions must the developer perform to implement client-side envelope encryption for these files? (Select TWO.)
Geçerli olan tümünü seçin
A developer is designing a containerized microservice that runs on Amazon ECS. The microservice must store sensitive customer data in an Amazon DynamoDB table. Due to compliance requirements, the data must be encrypted client-side before it is sent to DynamoDB. The developer wants to use envelope encryption with an AWS KMS customer managed key to minimize KMS API calls and encrypt the data efficiently. Which two API operations must the developer implement in the microservice code to manage the keys for this client-side encryption and decryption workflow? (Select TWO.)
Geçerli olan tümünü seçin
A developer is designing a secure file upload utility for a containerized microservice. The utility must encrypt files up to locally before uploading them to an Amazon S3 bucket named `my-app-data`. To comply with strict security and auditing guidelines, the solution must satisfy the following requirements:
1. Ensure that plaintext data keys are never persisted or stored in any AWS service.
2. Prevent unauthorized decryption if the encrypted files are copied to a different S3 bucket.
3. Minimize AWS KMS API calls to avoid rate-limiting/throttling and control costs.
4. Record all cryptographic key usage in AWS CloudTrail for auditing.
Which KMS API workflow and architecture meets these requirements?
A developer needs to encrypt a large data file locally on an application server before uploading it to Amazon S3. The developer wants to use client-side envelope encryption with an AWS KMS customer managed key. Which of the following steps must the developer perform to complete this encryption process? (Select TWO.)
Geçerli olan tümünü seçin
A developer is implementing a security strategy for an application. The application needs to retrieve a database password and also encrypt application audit logs (average size ) locally before archiving them to Amazon S3. The database password requires automatic rotation. The audit logs must be encrypted client-side using a customer managed key (KMS key) in AWS KMS. Which combination of services and KMS operations should the developer use to meet these requirements?
A developer is implementing client-side encryption for an application that processes large database backups with an average size of GB before uploading them to an Amazon S3 bucket. To comply with corporate security policies, the developer must use AWS KMS and envelope encryption. Which sequence of operations should the developer implement to encrypt the backup files?
A developer needs to encrypt a 5 GB file on an application server using AWS KMS client-side envelope encryption. Which AWS KMS API action should the developer call to obtain both the plaintext data key for local encryption and the encrypted copy of the data key for storage?
A developer is implementing local client-side envelope encryption for sensitive reports in a microservice before uploading them to Amazon S3. To optimize costs and network overhead, the developer aims to generate a unique data key for each report using a customer managed key in AWS KMS. However, during integration testing, the developer observes that each file encryption requires two sequential AWS KMS API calls, which is causing latency and doubling API billing. The current implementation performs `kmsClient.generateDataKeyWithoutPlaintext(...)` followed by `kmsClient.decrypt(...)`. Which modification to the code should the developer make to reduce the integration to a single AWS KMS API call per report?
An application needs to encrypt large files locally before uploading them to Amazon S3. The developer decides to use client-side envelope encryption with an AWS Key Management Service (AWS KMS) customer managed key. The developer calls the GenerateDataKey API operation.
Which two components are returned by this API call to enable envelope encryption? (Select TWO.)
Geçerli olan tümünü seçin
A microservice running on AWS Lambda needs to perform local client-side envelope encryption on application log files that range from MB to MB in size before storing them in an on-premises archive. The microservice must use a customer managed key in AWS KMS.
Which of the following configuration and SDK coding steps should the developer perform to implement this securely with minimum privilege? (Select TWO.)
Geçerli olan tümünü seçin
A developer needs to secure a database connection string containing credentials. The string is in size, and the developer wants to perform direct server-side encryption using an AWS KMS customer managed key without generating and managing local data keys. Which AWS KMS API operation should the developer call to encrypt this payload directly?
A developer is implementing client-side decryption for a microservice that retrieves encrypted configuration files (each under KB in size) from an external datastore. The files were encrypted using envelope encryption with an AWS KMS customer managed key. The datastore contains the ciphertext payload and the encrypted data key (ciphertext data key). Which two steps must the developer's application perform to decrypt the payload?
Geçerli olan tümünü seçin