ExamGecko
Home Home / Amazon / DVA-C01

Amazon DVA-C01 Practice Test - Questions Answers, Page 29

Question list
Search
Search

List of questions

Search

Related questions











A developer is building an application that needs to store date in Amazon S3. Management requires that the data be encrypted before is it sent to Amazon S3 for storage. The encryption keys need to be managed by the security team. Which approach should the developer take to meet these requirements?

A.
Implement server-side encryption using customer-provided encryption keys (SSE-C).
A.
Implement server-side encryption using customer-provided encryption keys (SSE-C).
Answers
B.
Implement server-side encryption by using client-side master key.
B.
Implement server-side encryption by using client-side master key.
Answers
C.
Implement client-side encryption using an AWS KMS managed customer master key (CMK).
C.
Implement client-side encryption using an AWS KMS managed customer master key (CMK).
Answers
D.
Implement Client-side encryption using Amazon S3 managed keys.
D.
Implement Client-side encryption using Amazon S3 managed keys.
Answers
Suggested answer: C

Explanation:

Reference: https://aws.amazon.com/s3/faqs/

A developer has written an Amazon kinesis Data streams application. As usage grows and traffic over time, the application is regularly receiving provisionedThroughputExceededException error messages. Which steps should the Developer take to resolve the error? (Select Two.)

A.
Use Auto scaling to scale the stream for better performance.
A.
Use Auto scaling to scale the stream for better performance.
Answers
B.
Increase the delay between the GetRecords call and the PutRecords call.
B.
Increase the delay between the GetRecords call and the PutRecords call.
Answers
C.
Increase the number of shards in the data stream.
C.
Increase the number of shards in the data stream.
Answers
D.
Specify a shard iterator using the shardlterator parameter.
D.
Specify a shard iterator using the shardlterator parameter.
Answers
E.
Implement exponential backoff on the GetRecords call and the PutRecords call.
E.
Implement exponential backoff on the GetRecords call and the PutRecords call.
Answers
Suggested answer: B, D

Explanation:

Reference: https://docs.aws.amazon.com/streams/latest/dev/troubleshooting-consumers.html

A developer is creating as AWS lambda function that generates a new file each time it runs. Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account. How should the developer accomplish this?

A.
When the Lambda function starts, use the Git CLI to Clone the repository. Check the new file into the cloned repository and push the change.
A.
When the Lambda function starts, use the Git CLI to Clone the repository. Check the new file into the cloned repository and push the change.
Answers
B.
After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
B.
After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
Answers
C.
Use an AWS SDK to instantiate a CodeCommit Client. Invoke the put _ file method to add the file to the repository.
C.
Use an AWS SDK to instantiate a CodeCommit Client. Invoke the put _ file method to add the file to the repository.
Answers
D.
Upload the new file to an Amazon S3 bucket. Create an AWS step Function to accept S3 events. In the step Function, add the new file to the repository.
D.
Upload the new file to an Amazon S3 bucket. Create an AWS step Function to accept S3 events. In the step Function, add the new file to the repository.
Answers
Suggested answer: D

An application is using single -node Amazon ElastiCache for Redis instance to improve read performance. Over time, demand for the application has increased exponentially, which has increased the load on the ElastiCache instance. It is critical that this cache layer handles the load and is resilient in case of node failures.

What can the Developer do to address the load and resiliency requirements?

A.
Add a read replica instance.
A.
Add a read replica instance.
Answers
B.
Migrate to a Memcached cluster.
B.
Migrate to a Memcached cluster.
Answers
C.
Migrate to an Amazon ElastiCache service cluster.
C.
Migrate to an Amazon ElastiCache service cluster.
Answers
D.
Vertically scale the ElastiCache instance.
D.
Vertically scale the ElastiCache instance.
Answers
Suggested answer: A

Explanation:

Reference: https://docs.aws.amazon.com/AmazonElastiCache/latest/redug/Replication.Redis.Groups.html

A company runs continuous integration/continuous delivery (CI/CD) pipeline for its application on AWS CodePipeline. A developer must write unit tests and run them as part of the pipelines before staging the artifacts for testing. How should the Developer incorporate unit tests as part of CI/CD pipeline?

A.
Create a separate codePipline pipline to run unit tests.
A.
Create a separate codePipline pipline to run unit tests.
Answers
B.
Update the AWS codeBuild build specification to include a phase for running unit tests.
B.
Update the AWS codeBuild build specification to include a phase for running unit tests.
Answers
C.
Install the AWS CodeDeploy agent on an Amazon EC2 instance to run unit tests.
C.
Install the AWS CodeDeploy agent on an Amazon EC2 instance to run unit tests.
Answers
D.
Create a testing branch in AWS CodeCommit to run unit tests.
D.
Create a testing branch in AWS CodeCommit to run unit tests.
Answers
Suggested answer: B

A company has a REST application comprised of an Amazon API Gateway and several AWS Lambda functions. A developer is responding to an alert that the API Gateway’s HTTP response error rate has unexpectedly increased. The developer must determine must which Lambda function is malfunctioning.

Which method would help the developer make this determination while minimizing delays?

A.
Execute an Amazon Athena query against the API Gateway and Lambda execution logs.
A.
Execute an Amazon Athena query against the API Gateway and Lambda execution logs.
Answers
B.
Execute an Amazon CloudWatch Logs Insights query against the API Gateway and Lambda execution logs.
B.
Execute an Amazon CloudWatch Logs Insights query against the API Gateway and Lambda execution logs.
Answers
C.
Download the API Gateway and Lambda execution logs from Amazon S3, and perform a line-byline search against them.
C.
Download the API Gateway and Lambda execution logs from Amazon S3, and perform a line-byline search against them.
Answers
D.
Download the API Gateway and Lambda execution logs from Amazon CloudWatch Events, and perform line-by-line search against them.
D.
Download the API Gateway and Lambda execution logs from Amazon CloudWatch Events, and perform line-by-line search against them.
Answers
Suggested answer: D

A developer is provided with an HTTPS clone URL for an AWS CodeCommit repository.

What needs to be configured before cloning this repository?

A.
Use AWS KMS to set up public and private keys for use with CodeCommit.
A.
Use AWS KMS to set up public and private keys for use with CodeCommit.
Answers
B.
Set up the Git credential helper to use an AWS credential profile, and enable the helper to send the path to the repositories.
B.
Set up the Git credential helper to use an AWS credential profile, and enable the helper to send the path to the repositories.
Answers
C.
Generate encryption keys using AWS CloudHSM, then export the key for use with AWS CodeCommit.
C.
Generate encryption keys using AWS CloudHSM, then export the key for use with AWS CodeCommit.
Answers
D.
Use AWS certificate manager to provision public and private SSL/TLS certificates.
D.
Use AWS certificate manager to provision public and private SSL/TLS certificates.
Answers
Suggested answer: B

Explanation:

AWS credential profile, and enabling the Git credential helper to send the path to repositories:

Reference: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-httpsunixes.html

A development team wants to immediately build and deploy an application whenever there is a change to the source code. Which approaches could be used to trigger the deployment? (Select TWO.)

A.
Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start whenever a file in the bucket changes
A.
Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start whenever a file in the bucket changes
Answers
B.
Store the source code in an encrypted Amazon EBS volume Configure AWS CodePipeline to start whenever a file in the volume changes
B.
Store the source code in an encrypted Amazon EBS volume Configure AWS CodePipeline to start whenever a file in the volume changes
Answers
C.
Store the source code in an AWS CodeCommit repository Configure AWS CodePipeline to start whenever a change is committed to the repository.
C.
Store the source code in an AWS CodeCommit repository Configure AWS CodePipeline to start whenever a change is committed to the repository.
Answers
D.
Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start every 15 minutes
D.
Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start every 15 minutes
Answers
E.
Store the source code in an Amazon EC2 instance's ephemeral storage. Configure the instance to start AWS CodePipeline whenever there are changes to the source code
E.
Store the source code in an Amazon EC2 instance's ephemeral storage. Configure the instance to start AWS CodePipeline whenever there are changes to the source code
Answers
Suggested answer: B, C

Explanation:

Reference: https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-ecs-ecrcodedeploy.html

A developer is writing a web application that must share secure documents with end users The documents are stored in a private Amazon S3 bucket The application must allow only authenticated users to download specific documents when requested, and only for a duration of 15 minutes How can the developer meet these requirements?

A.
Copy the documents to a separate S3 bucket that has a lifecycle policy for deletion after 15 minutes
A.
Copy the documents to a separate S3 bucket that has a lifecycle policy for deletion after 15 minutes
Answers
B.
Create a presigned S3 URL using the AWS SDK with an expiration time of 15 minutes
B.
Create a presigned S3 URL using the AWS SDK with an expiration time of 15 minutes
Answers
C.
Use server-side encryption with AWS KMS managed keys (SSE-KMS) and download the documents using HTTPS
C.
Use server-side encryption with AWS KMS managed keys (SSE-KMS) and download the documents using HTTPS
Answers
D.
Modify the S3 bucket policy to only allow specific users to download the documents Revert the change after 15 minutes.
D.
Modify the S3 bucket policy to only allow specific users to download the documents Revert the change after 15 minutes.
Answers
Suggested answer: B

A developer has built an application running on AWS Lambda using AWS Serverless Application Model (AWS SAM). What is the correct order of execution to successfully deploy the application?

A.
1 Build the SAM template in Amazon EC22 Package the SAM template to Amazon EBS storage
A.
1 Build the SAM template in Amazon EC22 Package the SAM template to Amazon EBS storage
Answers
B.
Deploy the SAM template from Amazon EBS.
B.
Deploy the SAM template from Amazon EBS.
Answers
C.
1 Build the SAM template locally2 Package the SAM template onto Amazon S3
C.
1 Build the SAM template locally2 Package the SAM template onto Amazon S3
Answers
D.
Deploy the SAM template from Amazon S3.
D.
Deploy the SAM template from Amazon S3.
Answers
E.
1 Build the SAM template locally
E.
1 Build the SAM template locally
Answers
F.
Deploy the SAM template from Amazon S3.3 Package the SAM template for use
F.
Deploy the SAM template from Amazon S3.3 Package the SAM template for use
Answers
G.
1 Build the SAM template locally2 Package the SAM template from AWS CodeCommit.3 Deploy the SAM template to CodeCommit
G.
1 Build the SAM template locally2 Package the SAM template from AWS CodeCommit.3 Deploy the SAM template to CodeCommit
Answers
Suggested answer: B

Explanation:

Reference: https://docs.aws.amazon.com/serverless-applicationmodel/latest/developerguide/serverlessdeploying.html

Total 608 questions
Go to page: of 61