ExamGecko
Home / Amazon / DVA-C01 / List of questions
Ask Question

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

List of questions

Question 431

Report
Export
Collapse

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?

Even though the Swagger import was successful, resource creation failed afterwards
Even though the Swagger import was successful, resource creation failed afterwards
There is a propagation delay of several minutes in creating API Gateway resources after import
There is a propagation delay of several minutes in creating API Gateway resources after import
The developer needs to restart the API Gateway stage after import in order to apply the changes.
The developer needs to restart the API Gateway stage after import in order to apply the changes.
The developer needs to create a new deployment after import in order to deploy the changes
The developer needs to create a new deployment after import in order to deploy the changes
Suggested answer: A
asked 16/09/2024
Vincent Cham
31 questions

Question 432

Report
Export
Collapse

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?

Publish the data to Amazon SQS
Publish the data to Amazon SQS
Publish the data to Amazon Kinesis Data Firehose
Publish the data to Amazon Kinesis Data Firehose
Publish the data to Amazon CloudWatch Events.
Publish the data to Amazon CloudWatch Events.
Publish the data to Amazon Kinesis Data Streams.
Publish the data to Amazon Kinesis Data Streams.
Suggested answer: A
asked 16/09/2024
Jose Leonardo
26 questions

Question 433

Report
Export
Collapse

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?

Enable transactions for the DynamoDB table Use the BatchWriteltem operation to update the items.
Enable transactions for the DynamoDB table Use the BatchWriteltem operation to update the items.
Use the TransactWriteitem operation to group the changes Update the items in the table
Use the TransactWriteitem operation to group the changes Update the items in the table
Set up a FIFO queue using Amazon SQS. Group the changes in the queue. Update the table based on the grouped changes
Set up a FIFO queue using Amazon SQS. Group the changes in the queue. Update the table based on the grouped changes
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
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
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

asked 16/09/2024
Islam Fadel
32 questions

Question 434

Report
Export
Collapse

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?

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

Question 435

Report
Export
Collapse

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?

Periodically send the thread count to AWS X-Ray segments, then generate a service graph on demand
Periodically send the thread count to AWS X-Ray segments, then generate a service graph on demand
Create a custom Amazon CloudWatch metric and periodically perform a PutMetricData call with the current thread count.
Create a custom Amazon CloudWatch metric and periodically perform a PutMetricData call with the current thread count.
Periodically log thread count data to Amazon S3. Use Amazon Kinesis to process the data into a graph.
Periodically log thread count data to Amazon S3. Use Amazon Kinesis to process the data into a graph.
Periodically write the current thread count to a table using Amazon DynarnoDB and use Amazon CloudFront to create a graph
Periodically write the current thread count to a table using Amazon DynarnoDB and use Amazon CloudFront to create a graph
Suggested answer: D
asked 16/09/2024
Do Hien
47 questions

Question 436

Report
Export
Collapse

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?

Increase the runtime engine version
Increase the runtime engine version
Increase the timeout
Increase the timeout
Increase the number of Lambda layers.
Increase the number of Lambda layers.
Increase the memory
Increase the memory
Suggested answer: D
asked 16/09/2024
Neftali Baez-Feliciano
31 questions

Question 437

Report
Export
Collapse

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 )

Create an Amazon ElastiCache cluster Configure the application to cache data in the cluster.
Create an Amazon ElastiCache cluster Configure the application to cache data in the cluster.
Create a DynamoDB Accelerator (DAX) cluster Configure the application to use the DAX cluster for DynamoDB requests
Create a DynamoDB Accelerator (DAX) cluster Configure the application to use the DAX cluster for DynamoDB requests
Configure the application to make strongly consistent read requests against the DynamoDB table
Configure the application to make strongly consistent read requests against the DynamoDB table
Increase the read capacity of the DynamoDB table
Increase the read capacity of the DynamoDB table
Enable DynamoDB adaptive capacity
Enable DynamoDB adaptive capacity
Suggested answer: A, D
asked 16/09/2024
Ana Roque
36 questions

Question 438

Report
Export
Collapse

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?

Redeploy the function within the default VPC
Redeploy the function within the default VPC
Increase the function's memory.
Increase the function's memory.
Redeploy the function by using Lambda layers
Redeploy the function by using Lambda layers
Increase the function's reserved concurrency
Increase the function's reserved concurrency
Suggested answer: B
asked 16/09/2024
Nadja Burkart
32 questions

Question 439

Report
Export
Collapse

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?

Change long polling to short polling.
Change long polling to short polling.
Use a FIFO queue and configure deduplication
Use a FIFO queue and configure deduplication
Convert the standard SQS queue into a FIFO queue
Convert the standard SQS queue into a FIFO queue
Send the messages with message timers
Send the messages with message timers
Suggested answer: C
asked 16/09/2024
Mark Wingate
31 questions

Question 440

Report
Export
Collapse

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?

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

Related questions