Certbus > Amazon > AWS Certified Associate > DVA-C01 > DVA-C01 Online Practice Questions and Answers

DVA-C01 Online Practice Questions and Answers

Questions 4

An application deployed on AWS Elastic Beanstalk experiences increased error rates during deployments of new application versions, resulting in service degradation for users. The Development team believes that this is because of the reduction in capacity during the deployment steps. The team would like to change the deployment policy configuration of the environment to an option that maintains full capacity during deployment while using the existing instances.

Which deployment policy will meet these requirements while using the existing instances?

A. All at once

B. Rolling

C. Rolling with additional batch

D. Immutable

Browse 703 Q&As
Questions 5

An application on AWS is using third-party APIs. The Developer needs to monitor API errors in the code, and wants to receive notifications if failures go above a set threshold value. How can the Developer achieve these requirements?

A. Publish a custom metric on Amazon CloudWatch and use Amazon SES for notification.

B. Use an Amazon CloudWatch API-error metric and use Amazon SNS for notification.

C. Use an Amazon CloudWatch API-error metric and use Amazon SES for notification.

D. Publish a custom metric on Amazon CloudWatch and use Amazon SNS for notification.

Browse 703 Q&As
Questions 6

A customer wants to deploy its source code on an AWS Elastic Beanstalk environment. The customer needs to perform deployment with minimal outage and should only use existing instances to retain application access log.

What deployment policy would satisfy these requirements?

A. Rolling

B. All at once

C. Rolling with an additional batch

D. Immutable

Browse 703 Q&As
Questions 7

A Development team has pushed out 10 applications running on several Amazon EC2 instances. The Operations team is asking for a graphical representation of one key performance metric for each application. These metrics should be available on one screen for easy monitoring.

Which steps should the Developer take to accomplish this using Amazon CloudWatch?

A. Create a custom namespace with a unique metric name for each application.

B. Create a custom dimension with a unique metric name for each application.

C. Create a custom event with a unique metric name for each application.

D. Create a custom alarm with a unique metric name for each application.

Browse 703 Q&As
Questions 8

Which features can be used to restrict access to data in S3? Choose 2 answers

A. Use S3 Virtual Hosting

B. Set an S3 Bucket policy.

C. Enable IAM Identity Federation.

D. Set an S3 ACL on the bucket or the object.

E. Create a CloudFront distribution for the bucket

Browse 703 Q&As
Questions 9

A company requires that AWS Lambda functions written by Developers log errors so System Administrators can more effectively troubleshoot issues. What should the Developers implement to meet this need?

A. Publish errors to a dedicated Amazon SQS queue.

B. Create an Amazon CloudWatch Events event trigger based on certain Lambda events.

C. Report errors through logging statements in Lambda function code.

D. Set up an Amazon SNS topic that sends logging statements upon failure.

Browse 703 Q&As
Questions 10

A company is developing a new web application in Python. A developer must deploy the application using AWS Elastic Beanstalk from the AWS Management Console. The developer creates an Elastic Beanstalk source bundle to upload using the console.

Which of the following are requirements when creating the source bundle? (Choose two.)

A. The source bundle must include the ebextensions.yaml file

B. The source bundle must not include a top-level directory

C. The source bundle must be compressed with any required dependencies in a top-level parent folder

D. The source bundle must be created as a single .zip or .war file

E. The source bundle must be uploaded into Amazon EFS

Browse 703 Q&As
Questions 11

A company is developing an application that will be accessed through the Amazon API Gateway REST API Registered users should be the only ones who can access certain resources of this API. The token being used should expire automatically and needs to be refreshed periodically.

How can a developer meet these requirements'?

A. Create an Amazon Cognito identity pool, configure the Amazon Cognito Authorizer in API Gateway, and use the temporary credentials generated by the identity pool

B. Create and maintain a database record for each user with a corresponding token and use an AWS Lambda authorizer m API Gateway

C. Create an Amazon Cognito user pool, configure the Cognito Authorizer in API Gateway, and use the identity or access token

D. Create an IAM user for each API user, attach an invoke permissions policy to the API. and use an IAM authorizer in API Gateway.

Browse 703 Q&As
Questions 12

A company experienced partial downtime during the last deployment of a new application. AWS Elastic Beanstalk split the environment's Amazon EC2 instances into batches and deployed a new version one batch at a time after taking them

out of service. Therefore, full capacity was not maintained during deployment.

The developer plans to release a new version of the application, and is looking for a policy that will maintain full capacity and minimize the impact of the failed deployment.

Which deployment policy should the developer use?

A. Immutable

B. All at Once

C. Rolling

D. Rolling with an Additional Batch

Browse 703 Q&As
Questions 13

An application is using a custom library to make HTTP calls directly to AWS service endpoints. The application is experiencing transient errors that are causing processes to stop when each error is first encountered A request has been made

to make the application more resilient by adding error retries and exponential backoff.

How should a developer implement the changes with MINIMAL custom code?

A. Add a Retry-After HTTP header to API requests.

B. Use the AWS CLI to configure the retry settings in a named profile

C. Change the custom library to retry on 5xx errors only

D. Use an AWS SDK and set retry-specific configurations.

Browse 703 Q&As
Questions 14

A developer Is working with a Docker application that needs to be quickly deployed using AWS without changing the infrastructure or configuring health checks. The application should be configured so that changes and updates can be made automatically without any downtime Which solution will meet these requirements?

A. Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.

B. Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.

C. Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance

D. Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring

Browse 703 Q&As
Questions 15

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.

B. Update the AWS codeBuild build specification to include a phase for running unit tests.

C. Install the AWS CodeDeploy agent on an Amazon EC2 instance to run unit tests.

D. Create a testing branch in AWS CodeCommit to run unit tests.

Browse 703 Q&As
Questions 16

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

B. Use the KMS GenerateDataKey API to get an encryption key

C. Use the KMS GenerateDataKeyWithoutPlain.Text API to get an encryption key

D. Pass the data to KMS as part of the Encrypt API for encryption

Browse 703 Q&As
Questions 17

A company runs a traditional three-tier application, including its NoSQL database, on Amazon EC2 instances in a VPC. The company wants to migrate the database to Amazon DynamoDB.

During testing, a developer notices that the application on the EC2 instances cannot write data to the DynamoDB table. The developer needs to grant the application write access to the DynamoDB table in a secure manner.

Which combination of actions will meet these requirements? (Choose two.)

A. Create a gateway VPC endpoint for DynamoDB. Specify the VPC ID in the --vpc-id parameter.

B. Create an interface VPC endpoint for DynamoDB. Specify the VPC ID in the --vpc-id parameter.

C. Create an IAM user that allows write access to the DynamoDB table. Add the user to the EC2 Instances.

D. Create an IAM role that allows write access to the DynamoDB table. Add the role to the EC2 instances.

E. Create an IAM group that allows write access to the DynamoDB table. Add the group to the EC2 instances.

Browse 703 Q&As
Questions 18

A developer is creating an application that is based on an AWS Lambda function. The function uses the AWS SDK to read product price data from an Amazon S3 bucket and to write user information to an Amazon Aurora DB instance. The Lambda function runs often, up to a few times each minute. To meet performance requirements, the developer must minimize the run duration of the Lambda function.

Which actions can help the developer increase the performance? (Choose two.)

A. Initialize SDK clients and database connections outside of the function handler

B. Read the S3 product price data initially, and cache it locally in the /tmp directory

C. Use environment variables to pass operational parameters to the function

D. Use most-restrictive permissions when setting the IAM policies for the Lambda IAM role

E. Split the code into different Lambda functions to keep the functions smaller

Browse 703 Q&As
Exam Code: DVA-C01
Exam Name: AWS Certified Developer - Associate (DVA-C01)
Last Update: Dec 08, 2023
Questions: 703 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99