An application adds a processing date to each transaction that it receives. The application writes each transaction to an Amazon DynamoDB table by using the Putltem operation. Each transaction has a unique ID (transactionID). Sometimes
the application receives transactions more than once.
A developer notices that duplicate transactions in DynamoDB have the latest processing date instead of the date when the transaction was first received. Duplicate records happen infrequently, and most of the transactions are unique.
What is the MOST cost-effective solution that the developer can implement to ensure that Putltem does not update an existing record?
A. Call the Getltem operation first to confirm that the record does not exist. Then call Putltem.
B. Enable the TTL attribute on the DynamoDB table.
C. Implement a conditional put by using the attribute_exists(transactionID) condition expression.
D. Implement a conditional put by using the attribute_not_exists(transactionID) condition expression.
A company is running an application on AWS Elastic Beanstalk. The company must monitor memory usage of the underlying Amazon EC2 instances that run Amazon Linux Amazon Machine Images (AMIs). Which solution will meet this requirement?
A. Configure AWS CloudTrail.
B. Add a custom Amazon CloudWatch metric by using a .ebextensions file.
C. Use Elastic Beanstalk basic health reporting.
D. Enable Elastic Beanstalk enhanced health reporting.
A company has a front-end application that runs on four Amazon EC2 instances behind an Elastic Load Balancer (ELB) in a production environment that is provisioned by AWS Elastic Beanstalk. A developer needs to deploy and test new application code while updating the Elastic Beanstalk platform from the current version to a newer version of Node.js. The solution must result in zero downtime for the application.
Which solution meets these requirements?
A. Clone the production environment to a different platform version. Deploy the new application code, and test it. Swap the environment URLs upon verification.
B. Deploy the new application code in an all-at-once deployment to the existing EC2 instances. Test the code. Redeploy the previous code if verification fails.
C. Perform an immutable update to deploy the new application code to new EC2 instances. Serve traffic to the new instances after they pass health checks.
D. Use a rolling deployment for the new application code. Apply the code to a subset of EC2 instances until the tests pass. Redeploy the previous code if the tests fail.
A company has an application that runs on Amazon EC2 instances and stores sensitive data. The application encrypts the data by using an AWS Key Management Service (AWS KMS) customer managed customer master key (CMK) with key material that has been imported from outside of AWS.
A developer accidentally deletes the key material, and the application is unable to read the encrypted data.
What should the developer do to fix the application with the LEAST amount of effort?
A. Create new key material from the original source outside of AWS. Reimport the key material to the existing CMK.
B. Recover the deleted key material by opening a request with AWS Support.
C. Generate an AWS managed CMK. Reconfigure the application to use this key.
D. Reimport the key material from the original source outside of AWS to the existing CMK.
A developer at a company needs to create a small application that makes the same API call once each day at a designated time. The company does not have infrastructure in the AWS Cloud yet, but the company wants to implement this functionality on AWS.
Which solution meets these requirements in the MOST operationally efficient manner?
A. Use a Kubernetes cron job that runs on Amazon Elastic Kubernetes Service (Amazon EKS).
B. Use an Amazon Linux crontab scheduled job that runs on Amazon EC2.
C. Use an AWS Lambda function that is invoked by an Amazon EventBridge (Amazon CloudWatch Events) scheduled event.
D. Use an AWS Batch job that is submitted to an AWS Batch job queue.
A developer has an AWS CodePipeline pipeline that invokes AWS CodeBuild in the build stage. The developer wants to pass in a variable from CodePipeline so that the variable can be read in the CodeBuild buildspec.yml file.
How can the developer accomplish this goal?
A. Configure a unique CodePipeline variable namespace and variables as key-value pairs that define each of the variables required in CodeBuild.
B. Configure a CodePipeline environment variable that contains a JSON document that defines each of the variables required in CodeBuild.
C. Configure an AWS CloudFormation stack set that contains a JSON document that defines each of the variables required in CodeBuild. Reference the stack set from CodePipeline.
D. Configure an AWS CodeArtifact repository to store each environment variable. Reference CodeArtifact from CodePipeline and CodeBuild.
A company wants to containerize an existing three-tier web application and deploy it to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. The application is using session data to keep track of user activities. The company needs a solution to store the session data.
Which solution will meet these requirements with the HIGHEST throughput?
A. Provision an Amazon ElastiCache for Redis cluster. Store the session data in the cluster.
B. Create a session table in Amazon Redshift. Store the session data in the table.
C. Place the web application behind a Network Load Balancer with session affinity (sticky sessions) enabled. Store the session data in the containers.
D. Create a new Amazon S3 bucket with S3 Versioning enabled. Store the session data in the S3 bucket.
A mobile app stores blog posts in an Amazon DynamoDB table. Millions of posts are added every day, and each post represents a single item in the table. The mobile app requires only recent posts. Any post that is older than 48 hours can be removed.
What is the MOST cost-effective way to delete posts that are older than 48 hours?
A. For each item, add a new attribute of type String that has a timestamp that is set to the blog post creation time. Create a script to find old posts with a table scan and remove posts that are older than 48 hours by using the BatchWriteItem API operation. Schedule a cron job on an Amazon EC2 instance once an hour to start the script.
B. For each item, add a new attribute of type String that has a timestamp that is set to the blog post creation time. Create a script to find old posts with a table scan and remove posts that are older than 48 hours by using the BatchWriteItem API operation. Place the script in a container image. Schedule an Amazon Elastic Container Service (Amazon ECS) task on AWS Fargate that invokes the container every 5 minutes.
C. For each item, add a new attribute of type Date that has a timestamp that is set to 48 hours after the blog post creation time. Create a global secondary index (GSI) that uses the new attribute as a sort key. Create an AWS Lambda function that references the GSI and removes expired items by using the BatchWriteItem API operation. Schedule the function with an Amazon CloudWatch event every minute.
D. For each item, add a new attribute of type Number that has a timestamp that is set to 48 hours after the blog post creation time. Configure the DynamoDB table with a TTL that references the new attribute.
A weather company deploys a new version of its Docker container image in a continuous integration/continuous delivery (CI/CD) pipeline. The continuous deployment process creates a new image and uploads the new image to a registry in Amazon Elastic Container Registry (Amazon ECR). The company wants to reduce the number of images that it retains to an exact number.
What is the MOST operationally efficient solution that will meet these requirements?
A. Create an AWS Lambda function to determine images for deletion and call the ECR BatchDeleteImage API operation. Invoke the function upon each new image creation in the ECR registry.
B. Create an AWS Lambda function that deletes any image that is not tagged "latest." Schedule the function with Amazon EventBridge (Amazon CloudWatch Events) to run once a day.
C. Set up an Amazon CloudWatch alarm that is based on the number of images. Receive a notification if the image count exceeds the number that the company has decided to retain. Use the AWS Management Console to delete old images.
D. Add a lifecycle policy to the ECR registry that removes the oldest images so that the number of remaining images is the number that the company has decided to retain.
A financial company must store original customer records for 10 years for legal reasons. A complete record contains personally identifiable information (PII). According to local regulations, PII is available to only certain people in the company and must not be shared with third parties. The company needs to make the records available to third-party organizations for statistical analysis without sharing the PII.
A developer wants to store the original immutable record in Amazon S3. Depending on who accesses the S3 document, the document should be returned as is or with all the PII removed. The developer has written an AWS Lambda function to remove the PII from the document. The function is named removePii.
What should the developer do so that the company can meet the PII requirements while maintaining only one copy of the document?
A. Set up an S3 event notification that invokes the removePii function when an S3 GET request is made. Call Amazon S3 by using a GET request to access the object without PII.
B. Set up an S3 event notification that invokes the removePii function when an S3 PUT request is made. Call Amazon S3 by using a PUT request to access the object without PII.
C. Create an S3 Object Lambda access point from the S3 console. Select the removePii function. Use S3 Access Points to access the object without PII.
D. Create an S3 access point from the S3 console. Use the access point name to call the GetObjectLegalHold S3 API function. Pass in the removePii function name to access the object without PII.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Amazon exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DVA-C01 exam preparations and Amazon certification application, do not hesitate to visit our Vcedump.com to find your solutions here.