ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a REST API The developer will have three distinct environments to manage development, test, and production. How should the application be deployed while minimizing the number of resources to manage?

A.
Create a separate API Gateway and separate Lambda function for each environment in the same Region
A.
Create a separate API Gateway and separate Lambda function for each environment in the same Region
Answers
B.
Assign a Region for each environment and deploy API Gateway and Lambda to each Region
B.
Assign a Region for each environment and deploy API Gateway and Lambda to each Region
Answers
C.
Create one API Gateway with multiple stages with one Lambda function with multiple aliases.
C.
Create one API Gateway with multiple stages with one Lambda function with multiple aliases.
Answers
D.
Create one API Gateway and one Lambda function, and use a REST parameter to identify tne environment.
D.
Create one API Gateway and one Lambda function, and use a REST parameter to identify tne environment.
Answers
Suggested answer: C

A company wants to make sure that only one user from its Admin group has the permanent right to delete an Amazon EC2 resource There should be no changes in the existing policy under the Admin group What should a developer use to meet these requirements?

A.
AWS managed policy
A.
AWS managed policy
Answers
B.
Inline policy
B.
Inline policy
Answers
C.
IAM trust relationship
C.
IAM trust relationship
Answers
D.
AWS Security Token Service (AWS STS)
D.
AWS Security Token Service (AWS STS)
Answers
Suggested answer: B

A development team is migrating a monolithic application to Amazon API Gateway with AWS Lambda integrations using the AWS CD The zip deployment package exceeds the Lambda direct upload deployment package size limit. How should the Lambda function be deployed?

A.
Use the zip tile to create a Lambda layer and reference it using the -code CLI parameter
A.
Use the zip tile to create a Lambda layer and reference it using the -code CLI parameter
Answers
B.
Create a Docker image and reference the image using the --docker-image CLI parameter
B.
Create a Docker image and reference the image using the --docker-image CLI parameter
Answers
C.
Upload a deployment package using the --zp-file CLI parameter
C.
Upload a deployment package using the --zp-file CLI parameter
Answers
D.
Upload a deployment package to Amazon S3 and reference Amazon S3 using the --code CLI parameter
D.
Upload a deployment package to Amazon S3 and reference Amazon S3 using the --code CLI parameter
Answers
Suggested answer: D

A developer has written an application that writes data to Amazon DynamoDB- The DynamoDB table has been configured to use conditional writes During peak usage times, writes are failing due to a CondittonatCheckFailedException error How can the developer increase the application's reliability when multiple clients are attempting to write to the same record?

A.
Write the data to an Amazon SNS topic.
A.
Write the data to an Amazon SNS topic.
Answers
B.
Increase the amount of write capacity for the table to anticipate short-term spikes or bursts m write operations
B.
Increase the amount of write capacity for the table to anticipate short-term spikes or bursts m write operations
Answers
C.
Implement a caching solution, such as DynamoDB Accelerator or Amazon ElastiCache.
C.
Implement a caching solution, such as DynamoDB Accelerator or Amazon ElastiCache.
Answers
D.
Implement error retries and exponential backoff with jitter.
D.
Implement error retries and exponential backoff with jitter.
Answers
Suggested answer: C

A company uses a third-party tool to build, bundle, and package rts applications on-premises. and store them locally The company uses Amazon EC2 instances to run its front-end applications How can an application be deployed from the source control system onto the EC2 instances?

A.
Use AWS CodeDeploy and point it to the local storage to directly deploy a bundle m a zip. tar. or tar.gz format
A.
Use AWS CodeDeploy and point it to the local storage to directly deploy a bundle m a zip. tar. or tar.gz format
Answers
B.
Upload the bundle to an Amazon S3 bucket and specify the S3 location when doing a deployment using AWS CodeDeploy
B.
Upload the bundle to an Amazon S3 bucket and specify the S3 location when doing a deployment using AWS CodeDeploy
Answers
C.
Create a repository using AWS CodeCommit to automatically trigger a deployment to the EC2 instances
C.
Create a repository using AWS CodeCommit to automatically trigger a deployment to the EC2 instances
Answers
D.
Use AWS CodeBuild to automatically deploy the latest build to the latest EC2 instances
D.
Use AWS CodeBuild to automatically deploy the latest build to the latest EC2 instances
Answers
Suggested answer: B

A Lambda function processes data before sending it to a downstream service Each piece of data is approximately 1 MB in size After a security audit, the function t]is now required to encrypt the data before sending it downstream Which API call is required to perform the encryption?

A.
Pass the data to the KMS ReEncrypi API for encryption
A.
Pass the data to the KMS ReEncrypi API for encryption
Answers
B.
Use the KMS GenerateDataKey API to get an encryption key
B.
Use the KMS GenerateDataKey API to get an encryption key
Answers
C.
Use the KMS GenerateDataKeyWithoutPlain.Text API to get an encryption key
C.
Use the KMS GenerateDataKeyWithoutPlain.Text API to get an encryption key
Answers
D.
Pass the data to KMS as part of the Encrypt API for encryption
D.
Pass the data to KMS as part of the Encrypt API for encryption
Answers
Suggested answer: D

A developer is using Amazon S3 as the event source that invokes a Lambda function when new objects are created in the bucket The event source mapping Information Is stored in the bucket notification configuration The developer is working with different versions of the Lambda function, and has a constant need to update notification configuration so that Amazon S3 invokes the correct version What is the MOST efficient and effective way to achieve mapping Between the S3 event and Lambda?

A.
Use a different Lambda trigger
A.
Use a different Lambda trigger
Answers
B.
Use Lambda environment variables
B.
Use Lambda environment variables
Answers
C.
Use a Lambda alias
C.
Use a Lambda alias
Answers
D.
Use Lambda tags.
D.
Use Lambda tags.
Answers
Suggested answer: C

A developer needs to manage AWS infrastructure as code and must be able to deploy multiple identical copies of the infrastructure, stage changes, and revert to previous versions. Which approach addresses these requirements?

A.
Use cost allocation reports and AWS OpsWorks to deploy and manage the infrastructure.
A.
Use cost allocation reports and AWS OpsWorks to deploy and manage the infrastructure.
Answers
B.
Use Amazon CloudWatch metrics and alerts along with resource tagging to deploy and manage the infrastructure.
B.
Use Amazon CloudWatch metrics and alerts along with resource tagging to deploy and manage the infrastructure.
Answers
C.
Use AWS Elastic Beanstalk and AWS CodeCommit to deploy and manage the infrastructure.
C.
Use AWS Elastic Beanstalk and AWS CodeCommit to deploy and manage the infrastructure.
Answers
D.
Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.
D.
Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.
Answers
Suggested answer: D

A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream The company recently observed slow processing of the records. A developer notices that the iterator age metric for the function is Increasing and that the Lambda run duration is constantly above normal.

Which actions should the developer take to increase the processing speed? (Select TWO.)

A.
Increase the number of shards of the Kinesis data stream
A.
Increase the number of shards of the Kinesis data stream
Answers
B.
Decrease the timeout of the Lambda function
B.
Decrease the timeout of the Lambda function
Answers
C.
Increase the memory that is allocated to the Lambda function.
C.
Increase the memory that is allocated to the Lambda function.
Answers
D.
Decrease the number of shards of the Kinesis data stream
D.
Decrease the number of shards of the Kinesis data stream
Answers
E.
Increase the timeout of the Lambda function
E.
Increase the timeout of the Lambda function
Answers
Suggested answer: D, E

A developer has written code for an application and wants to share it with other developers on the team to receive feedback. The shared application code needs to be stored long-term with multiple versions and batch change tracking. Which AWS service should the developer use?

A.
AWSCodeBuild
A.
AWSCodeBuild
Answers
B.
Amazon S3
B.
Amazon S3
Answers
C.
AWS CodeCommit
C.
AWS CodeCommit
Answers
D.
AWS Cloud9
D.
AWS Cloud9
Answers
Suggested answer: C
Total 608 questions
Go to page: of 61