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

DVA-C01 Online Practice Questions and Answers

Questions 4

An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience. What is the best option to store the session state?

A. Store the session state in Amazon ElastiCache

B. Store the session state in Amazon CloudFront

C. Store the session state in Amazon S3

D. Enable session stickiness using elastic load balancers

Buy Now
Questions 5

Where can PortMapping be defined when launching containers in Amazon ECS?

A. Security groups

B. Amazon Elastic Container Registry (Amzon ECR)

C. Container agent

D. Task definition

Buy Now
Questions 6

The Developer for a retail company must integrate a fraud detection solution into the order processing solution. The fraud detection solution takes between ten and thirty minutes to verify an order. At peak, the web site can receive one hundred orders per minute.

What is the most scalable method to add the fraud detection solution to the order processing pipeline?

A. Add all new orders to an Amazon SQS queue. Configure a fleet of 10 EC2 instances spanning multiple AZs with the fraud detection solution installed on them to pull orders from this queue. Update the order with a pass or fails status.

B. Add all new orders to an SQS queue. Configure an Auto Scaling group that uses the queue depth metric as its unit of scale to launch a dynamically-sized fleet of EC2 instances spanning multiple AZs with the fraud detection solution installed on them to pull orders from this queue. Update the order with a pass or fails status.

C. Add all new orders to an Amazon Kinesis Stream. Subscribe a Lambda function to automatically read batches of records from the Kinesis Stream. The Lambda function includes the fraud detection software and will update the order with a pass or fail status.

D. Write all new orders to Amazon DynamoDB. Configure DynamoDB Streams to include all new orders. Subscribe a Lambda function to automatically read batches of records from the Kinesis Stream. The Lambda function includes the fraud detection software and will update the order with a pass or fail status.

Buy Now
Questions 7

Which EC2 API call would you use to retrieve a list of Amazon Machine Images (AMIs)?

A. DescnbeInstances

B. DescribeAMls

C. DescribeImages

D. GetAMls

E. You cannot retrieve a list of AMIs as there are over 10,000 AMIs

Buy Now
Questions 8

An application is real-time processing millions of events that are received through an API.

What service could be used to allow multiple consumers to process the data concurrently and MOST cost-effectively?

A. Amazon SNS with fanout to an SQS queue for each application

B. Amazon SNS with fanout to an SQS FIFO (first-in, firtst-out) queue for each application

C. Amazon Kinesis Firehouse

D. Amazon Kinesis Streams

Buy Now
Questions 9

A developer works in an environment with multiple AWS accounts that have AWS Lambda functions processing the same 100 KB payloads. The developer wants to centralize the point of origin of the payloads to one account and have all the Lambda functions be invoked whenever the initiating event occurs in the parent account.

How can the developer design the workflow in the MOST efficient way, so all the multi-account Lambda functions get invoked when the event occurs?

A. Create a Lambda function in the parent account and use cross-account IAM roles with the AWS Security Token Service (AWS STS) AssumeRole API call to make AWS Lambda invoke the API call to invoke all the cross-account Lambda functions.

B. Subscribe all the multi-account Lambda functions to an Amazon SNS topic and make a SNS Publish API call with the payload to the SNS topic.

C. Set up an Amazon SQS queue with the queue policy permitting the ReceiveMessage action for multi-account Lambda functions. Then send the payload to the SQS queue using the sqs:SendMessage permission and poll the queue using multi-account Lambda functions.

D. Use a worker on an Amazon EC2 instance to poll for the payload event. Invoke all Lambda functions using the Lambda Invoke API after using cross-account IAM roles with the AWS Security Token Service (AWS STS) AssumeRole API call.

Buy Now
Questions 10

A company runs its APIs using Amazon API Gateway in front of AWS Lambda functions The company wants to add logging at the API level Each API must have production and development environments The developer wants to enable

different logging levels in both environments.

How can these requirements be met?

A. Set up a stage for each environment In each stage, point to different Lambda functions that implement the logging logic m the code Access the logs in Amazon CloudWatch Logs.

B. Set up a stage for each environment In each stage, define a different logging level according to the logging requirements Access the logs in Amazon CloudWatch Logs.

C. Set up a stage and use the same Lambda functions In Amazon CloudWatch Logs set up a filter based on the log level according to the logging requirements.

D. Set up a stage for each environment In each stage, define a variable for the log level Set the value according to the logging requirements.

Buy Now
Questions 11

A front-end web application is using Amazon Cognito user pools to handle the user authentication flow. A developer is integrating Amazon DynamoDB into the application using the AWS SDK for JavaScript How would the developer securely call the API without exposing the access or secret keys?

A. Configure Amazon Cognito identity pools and exchange the JSON Web Token (JWT) for temporary credentials

B. Run the web application in an Amazon EC2 instance with the instance profile configured

C. Hardcode the credentials use Amazon S3 to host the web application, and enable server-side encryption

D. Use Amazon Cognito user pool JSON Web Tokens (JWTs) to access the DynamoDB APIs.

Buy Now
Questions 12

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.

Buy Now
Questions 13

A developer is receiving an intermittent ProvisionedThroughputExceeded Exception error from an application that is based on Amazon DynamoDB. According to the Amazon CloudWatch metrics for the table, the application is not exceeding the provisioned throughput.

What could be the cause of the issue?

A. The DynamoDB table storage size is larger than the provisioned size

B. The application is exceeding capacity on a particular hash key

C. The DynamoDB table is exceeding the provisioned scaling operations

D. The application is exceeding capacity on a particular sort key

Buy Now
Exam Code: DVA-C01
Exam Name: AWS Certified Developer - Associate (DVA-C01)
Last Update: Dec 08, 2023
Questions: 703
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99