110 likes | 110 Views
PassQuestion new released AWS Certified Developer u2013 Associate DVA-C01 Update Questions including the examination question and the answer to help you best prepare and ensure you pass your exam successfully.
E N D
DVA-C01 Free Questions DVA-C01 Free Questions AWS Certified Developer – AWS Certified Developer – Associate Associate https://www.passquestion.com/dva-c01.html https://www.passquestion.com/dva-c01.html
Question 1 Question 1 You are inserting 1000 new items every second in a DynamoDB table. Once an You are inserting 1000 new items every second in a DynamoDB table. Once an hour these items are analyzed and then are no longer needed. You need to hour these items are analyzed and then are no longer needed. You need to minimize provisioned throughput, storage, and API calls. minimize provisioned throughput, storage, and API calls. Given these requirements, what is the most efficient way to manage these Items Given these requirements, what is the most efficient way to manage these Items after the analysis? after the analysis? A. Retain the items in a single table A. Retain the items in a single table B. Delete items individually over a 24 hour period B. Delete items individually over a 24 hour period C. Delete the table and create a new table per hour C. Delete the table and create a new table per hour D. Create a new table per hour D. Create a new table per hour Answer: C Answer: C
Question 2 Question 2 Which of the following statements about SWF are true? Choose 3 answers Which of the following statements about SWF are true? Choose 3 answers A. SWF tasks are assigned once and never duplicated A. SWF tasks are assigned once and never duplicated B. SWF requires an S3 bucket for workflow storage B. SWF requires an S3 bucket for workflow storage C. SWF workflow executions can last up to a year C. SWF workflow executions can last up to a year D. SWF triggers SNS notifications on task assignment D. SWF triggers SNS notifications on task assignment E. SWF uses deciders and workers to complete tasks E. SWF uses deciders and workers to complete tasks F. SWF requires at least 1 EC2 instance per domain F. SWF requires at least 1 EC2 instance per domain Answer: A,C,E Answer: A,C,E
Question 3 Question 3 What item operation allows the retrieval of multiple items from a DynamoDB What item operation allows the retrieval of multiple items from a DynamoDB table in a single API call? table in a single API call? A. GetItem A. GetItem B. BatchGetItem B. BatchGetItem C. GetMultipleItems C. GetMultipleItems D. GetItemRange D. GetItemRange Answer: B Answer: B
Question 4 Question 4 Your application is trying to upload a 6 GB file to Simple Storage Service and Your application is trying to upload a 6 GB file to Simple Storage Service and receive a “Your proposed upload exceeds the maximum allowed object size." receive a “Your proposed upload exceeds the maximum allowed object size." error message. error message. What is a possible solution for this? What is a possible solution for this? A. None, Simple Storage Service objects are limited to 5 GB A. None, Simple Storage Service objects are limited to 5 GB B. Use the multi-part upload API for this object B. Use the multi-part upload API for this object C. Use the large object upload API for this object C. Use the large object upload API for this object D. Contact support to increase your object size limit D. Contact support to increase your object size limit E. Upload to a different region E. Upload to a different region Answer: B Answer: B
Question 5 Question 5 A company is developing a report executed by AWS Step Functions Amazon A company is developing a report executed by AWS Step Functions Amazon CloudWatch shows errors in the Step Functions task state machine To CloudWatch shows errors in the Step Functions task state machine To troubleshoot each task, the state input needs to be included along with the error troubleshoot each task, the state input needs to be included along with the error message in the state output. message in the state output. Which coding practice can preserve both the original input and the error for the Which coding practice can preserve both the original input and the error for the state? state? A. Use ResultPath in a Catch statement to include the error with the original A. Use ResultPath in a Catch statement to include the error with the original input input B. Use inputPath in a Catch statement and set the value to null. B. Use inputPath in a Catch statement and set the value to null. C. Use ErrorEquals in a Retry statement to include the error with the original C. Use ErrorEquals in a Retry statement to include the error with the original input input D. Use OutputPath in a Retry statement and set the value to $. D. Use OutputPath in a Retry statement and set the value to $. Answer: A Answer: A
Question 6 Question 6 A developer is trying to get data from an Amazon DynamoDB table called demoman-table. A developer is trying to get data from an Amazon DynamoDB table called demoman-table. The developer configured the AWS CLI to use a specific 1AM user's credentials and executed the The developer configured the AWS CLI to use a specific 1AM user's credentials and executed the following command: following command: aws dynamodb get-item table-name demoman-table --key '("id": <"N''; ''1993''}} ' aws dynamodb get-item table-name demoman-table --key '("id": <"N''; ''1993''}} ' The command returned errors and no rows were returned The command returned errors and no rows were returned What is the MOST likely cause of these issues? What is the MOST likely cause of these issues? A. The command is incorrect; it should be rewritten to use : ut-i t am with a string argument. A. The command is incorrect; it should be rewritten to use : ut-i t am with a string argument. B. The developer needs to log a ticket with AWS Support to enable access to the demoman-table. B. The developer needs to log a ticket with AWS Support to enable access to the demoman-table. C. Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST C. Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API API D. The 1AM user needs an associated policy with read access to demoman-table. D. The 1AM user needs an associated policy with read access to demoman-table. Answer: D Answer: D
Question 7 Question 7 A company needs a new REST API that can return information about the contents of an Amazon S3 A company needs a new REST API that can return information about the contents of an Amazon S3 bucket, such as a count of the objects stored in it. The company has decided that the new API should bucket, such as a count of the objects stored in it. The company has decided that the new API should be written as a microservice using AWS Lambda and Amazon API Gateway. be written as a microservice using AWS Lambda and Amazon API Gateway. How should the Developer ensure that the microservice has the necessary access to the Amazon S3 How should the Developer ensure that the microservice has the necessary access to the Amazon S3 bucket, while adhering to security best practices? bucket, while adhering to security best practices? A. Create an IAM user that has permissions to access the Amazon S3 bucket, and store the IAM user A. Create an IAM user that has permissions to access the Amazon S3 bucket, and store the IAM user credentials in the Lambda function source code. credentials in the Lambda function source code. B. Create an IAM role that has permissions to access the Amazon S3 bucket and assign it to the B. Create an IAM role that has permissions to access the Amazon S3 bucket and assign it to the Lambda function as its execution role. Lambda function as its execution role. C. Create an Amazon S3 bucket policy that specifies the Lambda service as its principal and assign it C. Create an Amazon S3 bucket policy that specifies the Lambda service as its principal and assign it to the Amazon S3 bucket. to the Amazon S3 bucket. D. Create an IAM role, attach the AmazonS3FullAccess managed policy to it, and assign the role to D. Create an IAM role, attach the AmazonS3FullAccess managed policy to it, and assign the role to the Lambda function as its execution role. the Lambda function as its execution role. Answer: B Answer: B
Question 8 Question 8 A developer implemented a static website hosted in Amazon S3 that makes web A developer implemented a static website hosted in Amazon S3 that makes web service requests hosted in Amazon API Gateway AWS Lambda. The site is service requests hosted in Amazon API Gateway AWS Lambda. The site is showing an error that reads showing an error that reads "No ' Access-Control-Allow Origin' header is present on the requested resource "No ' Access-Control-Allow Origin' header is present on the requested resource Origin 'null' is therefore not allowed access ". Origin 'null' is therefore not allowed access ". What should the developer do to resolve this issue? What should the developer do to resolve this issue? A. Enable cross-origin resource sharing (CORS) on the S3 bucket A. Enable cross-origin resource sharing (CORS) on the S3 bucket B. Enable cross-origin resource sharing (CORS) for the method in API Gateway B. Enable cross-origin resource sharing (CORS) for the method in API Gateway C. Add the Access-Control-Request-Method header to the request C. Add the Access-Control-Request-Method header to the request D. Add the Access-Control-Request-Headers header to the request D. Add the Access-Control-Request-Headers header to the request Answer: B Answer: B
Question 9 Question 9 An application displays a status dashboard. The status is updated by 1 KB An application displays a status dashboard. The status is updated by 1 KB messages from an SQS queue. Although the status changes infrequently, the messages from an SQS queue. Although the status changes infrequently, the Developer must minimize the time between the message arrival in the queue and Developer must minimize the time between the message arrival in the queue and the dashboard update. the dashboard update. What technique provides the shortest delay in updating the dashboard? What technique provides the shortest delay in updating the dashboard? A. Retrieve the messages from the queue using long polling every 20 seconds. A. Retrieve the messages from the queue using long polling every 20 seconds. B. Reduce the size of the messages by compressing them before sending. B. Reduce the size of the messages by compressing them before sending. C. Retrieve the messages from the queue using short polling every 10 seconds. C. Retrieve the messages from the queue using short polling every 10 seconds. D. Reduce the size of each message payload by sending it in two parts. D. Reduce the size of each message payload by sending it in two parts. Answer: A Answer: A
Question 10 Question 10 A Developer is creating a serverless website with content that includes HTML A Developer is creating a serverless website with content that includes HTML files, images, videos, and JavaScript (client-side scripts). files, images, videos, and JavaScript (client-side scripts). Which combination of services should the Developer use to create the website? Which combination of services should the Developer use to create the website? A. Amazon S3 and Amazon CloudFront A. Amazon S3 and Amazon CloudFront B. Amazon EC2 and Amazon ElastiCache B. Amazon EC2 and Amazon ElastiCache C. Amazon ECS and Redis C. Amazon ECS and Redis D. AWS Lambda and Amazon API Gateway D. AWS Lambda and Amazon API Gateway Answer: A Answer: A