ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











An organization is using Amazon API Gateway to provide a public API called "Survey" for collecting user feedback posts about its products The survey API has "DEV" and "PROD" stages and consists of one resource "/feedback" which allows users to retrieve/create/update single feedback posts.

Aversion-controlled Swagger file is used to define a new API that retrieves multiple feedback posts To add the new API resource "/listFeedbackForProduct" the developer makes changes to the Swagger file defining an API uploads the fie to the organization's version control system, and uses the API Gateway Import API feature to apply the changes to the Survey API After successful import the developer runs the tests against the DEV stage and finds that resource VlistFeedbackForProduct" is not available.

What is MOST likely the reason for resource not being available?

A.
Even though the Swagger import was successful, resource creation failed afterwards
A.
Even though the Swagger import was successful, resource creation failed afterwards
Answers
B.
There is a propagation delay of several minutes in creating API Gateway resources after import
B.
There is a propagation delay of several minutes in creating API Gateway resources after import
Answers
C.
The developer needs to restart the API Gateway stage after import in order to apply the changes.
C.
The developer needs to restart the API Gateway stage after import in order to apply the changes.
Answers
D.
The developer needs to create a new deployment after import in order to deploy the changes
D.
The developer needs to create a new deployment after import in order to deploy the changes
Answers
Suggested answer: A

A developer is building an application that processes a stream of user-supplied data The data stream must be consumed by multiple Amazon EC2 based processing applications in parallel and in real time. Each processor must be able to resume without losing data if there is a service interruption.

The Application Architect plans to add other processors in the near future, and wants to minimize the amount of data duplication involved. Which solution will satisfy these requirements?

A.
Publish the data to Amazon SQS
A.
Publish the data to Amazon SQS
Answers
B.
Publish the data to Amazon Kinesis Data Firehose
B.
Publish the data to Amazon Kinesis Data Firehose
Answers
C.
Publish the data to Amazon CloudWatch Events.
C.
Publish the data to Amazon CloudWatch Events.
Answers
D.
Publish the data to Amazon Kinesis Data Streams.
D.
Publish the data to Amazon Kinesis Data Streams.
Answers
Suggested answer: A

A company is developing a serverless ecommerce web application The application needs to make coordinated, all-or-nothing changes to multiple items in the company's inventory table in Amazon DynamoDB. Which solution will meet these requirements?

A.
Enable transactions for the DynamoDB table Use the BatchWriteltem operation to update the items.
A.
Enable transactions for the DynamoDB table Use the BatchWriteltem operation to update the items.
Answers
B.
Use the TransactWriteitem operation to group the changes Update the items in the table
B.
Use the TransactWriteitem operation to group the changes Update the items in the table
Answers
C.
Set up a FIFO queue using Amazon SQS. Group the changes in the queue. Update the table based on the grouped changes
C.
Set up a FIFO queue using Amazon SQS. Group the changes in the queue. Update the table based on the grouped changes
Answers
D.
Create a transaction table in an Amazon Aurora DB cluster to manage the transactions Write a backend process to sync the Aurora DB table and the DynamoDB table
D.
Create a transaction table in an Amazon Aurora DB cluster to manage the transactions Write a backend process to sync the Aurora DB table and the DynamoDB table
Answers
Suggested answer: B

Explanation:

TransactWriteItems is a synchronous write operation that groups up to 25 action requests. The BatchWriteItem operation puts or deletes multiple items in one or more tables. https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html

An AWS Lambda function accesses two Amazon DynamoDB tables. A developer wants to improve the performance of the Lambda function by identifying bottlenecks in the function. How can the developer inspect the timing of the DynamoDB API calls?

A.
Add DynamoDB as an event source to the Lambda function. View the performance with Amazon CloudWatch metrics
A.
Add DynamoDB as an event source to the Lambda function. View the performance with Amazon CloudWatch metrics
Answers
B.
Place an Application Load Balancer (ALB) in front of the two DynamoDB tables. Inspect the ALB logs
B.
Place an Application Load Balancer (ALB) in front of the two DynamoDB tables. Inspect the ALB logs
Answers
C.
Limit Lambda to no more than five concurrent invocations Monitor from the Lambda console
C.
Limit Lambda to no more than five concurrent invocations Monitor from the Lambda console
Answers
D.
Enable AWS X-Ray tracing for the function. View the traces from the X-Ray service.
D.
Enable AWS X-Ray tracing for the function. View the traces from the X-Ray service.
Answers
Suggested answer: D

A developer has written a multi-threaded application that is running on a fleet of Amazon EC2 instances. The operations team has requested a graphical method to monitor the number of running threads over time. What is the MOST efficient way to fulfill this request?

A.
Periodically send the thread count to AWS X-Ray segments, then generate a service graph on demand
A.
Periodically send the thread count to AWS X-Ray segments, then generate a service graph on demand
Answers
B.
Create a custom Amazon CloudWatch metric and periodically perform a PutMetricData call with the current thread count.
B.
Create a custom Amazon CloudWatch metric and periodically perform a PutMetricData call with the current thread count.
Answers
C.
Periodically log thread count data to Amazon S3. Use Amazon Kinesis to process the data into a graph.
C.
Periodically log thread count data to Amazon S3. Use Amazon Kinesis to process the data into a graph.
Answers
D.
Periodically write the current thread count to a table using Amazon DynarnoDB and use Amazon CloudFront to create a graph
D.
Periodically write the current thread count to a table using Amazon DynarnoDB and use Amazon CloudFront to create a graph
Answers
Suggested answer: D

A developer is writing a new AWS Serverless Application Model (AWS SAM) template with a new AWS Lambda function The Lambda function runs complex code. The developer wants to test the Lambda function with more CPU power. What should the developer do to meet this requirement?

A.
Increase the runtime engine version
A.
Increase the runtime engine version
Answers
B.
Increase the timeout
B.
Increase the timeout
Answers
C.
Increase the number of Lambda layers.
C.
Increase the number of Lambda layers.
Answers
D.
Increase the memory
D.
Increase the memory
Answers
Suggested answer: D

A developer is working on a web application that runs on Amazon Elastic Container Service (Amazon ECS) and uses an Amazon DynamoDB table to store dat a. The application performs a large number of read requests against a small set of the table data.

How can the developer improve the performance of these requests'? (Select TWO )

A.
Create an Amazon ElastiCache cluster Configure the application to cache data in the cluster.
A.
Create an Amazon ElastiCache cluster Configure the application to cache data in the cluster.
Answers
B.
Create a DynamoDB Accelerator (DAX) cluster Configure the application to use the DAX cluster for DynamoDB requests
B.
Create a DynamoDB Accelerator (DAX) cluster Configure the application to use the DAX cluster for DynamoDB requests
Answers
C.
Configure the application to make strongly consistent read requests against the DynamoDB table
C.
Configure the application to make strongly consistent read requests against the DynamoDB table
Answers
D.
Increase the read capacity of the DynamoDB table
D.
Increase the read capacity of the DynamoDB table
Answers
E.
Enable DynamoDB adaptive capacity
E.
Enable DynamoDB adaptive capacity
Answers
Suggested answer: A, D

A developer is changing the configuration for a CPU-intensive AWS Lambda function that runs once an hour. The function usually takes 45 seconds to run, but sometimes the run time is up to 1 minute. The timeout parameter is set to 3 minutes, and all other parameters are set to default.

The developer needs to optimize the run time of this function.

Which solution will meet this requirement?

A.
Redeploy the function within the default VPC
A.
Redeploy the function within the default VPC
Answers
B.
Increase the function's memory.
B.
Increase the function's memory.
Answers
C.
Redeploy the function by using Lambda layers
C.
Redeploy the function by using Lambda layers
Answers
D.
Increase the function's reserved concurrency
D.
Increase the function's reserved concurrency
Answers
Suggested answer: B

A developer is creating an event handling system. To handle messages asynchronously, the developer created a standard Amazon SQS queue Quality assurance testing reveals that some events were processed multiple times. What is the recommended way to ensure the events are not processed more than once?

A.
Change long polling to short polling.
A.
Change long polling to short polling.
Answers
B.
Use a FIFO queue and configure deduplication
B.
Use a FIFO queue and configure deduplication
Answers
C.
Convert the standard SQS queue into a FIFO queue
C.
Convert the standard SQS queue into a FIFO queue
Answers
D.
Send the messages with message timers
D.
Send the messages with message timers
Answers
Suggested answer: C

A developer is working on an ecommerce website. The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available.

How can the developer update the application to meet these requirements with MINIMUM changes?

A.
Rewrite the application to be cloud native and to run on AWS Lambda where the logs can be reviewed in Amazon CloudWatch.
A.
Rewrite the application to be cloud native and to run on AWS Lambda where the logs can be reviewed in Amazon CloudWatch.
Answers
B.
Set up centralized logging by using Amazon Elasticsearch Service (Amazon ES), Logstash, and Kibana
B.
Set up centralized logging by using Amazon Elasticsearch Service (Amazon ES), Logstash, and Kibana
Answers
C.
Scale down the application to one larger EC2 instance where only one instance is recording logs.
C.
Scale down the application to one larger EC2 instance where only one instance is recording logs.
Answers
D.
Install the unified Amazon CloudWatch agent on the EC2 instances. Configure the agent to push the application logs to CloudWatch.
D.
Install the unified Amazon CloudWatch agent on the EC2 instances. Configure the agent to push the application logs to CloudWatch.
Answers
Suggested answer: D
Total 608 questions
Go to page: of 61