December 7, 2020 by admin AWS DVA-C01 practice test Welcome to your AWS DVA-C01 practice test QUESTION 1 A Developer has created an S3 bucket s3://mycoolapp and has enabled server across logging that points to the folders3://mycoolapp/logs. The Developer moved 100 KB of Cascading Style Sheets (CSS) documents to the folder s3://mycoolapp/css, and then stopped work. When the developer came back a few days later, the bucket was 50 GB.What is the MOST likely cause of this situation? A. The CSS files were not compressed and S3 versioning was enabled. B. S3 replication was enabled on the bucket. C. Logging into the same bucket caused exponential log growth. D. An S3 lifecycle policy has moved the entire CSS file to S3 Infrequent Access. None QUESTION 2 A company is developing an application that will be accessed through the Amazon API Gateway REST API Registeredusers should be the only ones who can access certain resources of this API. The token being used should expireautomatically 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. None QUESTION 3 A Developer has set up an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. ALambda function has been configured to process these records. In which order will these records be processed? A. Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method B. Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method. C. Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards. D. The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API. None QUESTION 4 A Developer must re-implement the business logic for an order fulfillment system. The business logic has to makerequests to multiple vendors to decide where to purchase an item. The whole process can take up to a week tocomplete. What is the MOST efficient and SIMPLEST way to implement a system that meets these requirements? A. Use AWS Step Functions to execute parallel Lambda functions, and join the results. B. Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results. C. Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results. D. Use Amazon CloudWatch Events to orchestrate the Lambda functions. None QUESTION 5 A Developer accesses AWS CodeCommit over SSH. The SSH keys configured to access AWS CodeCommit are tied toa user with the following permissions:The Developer needs to create/delete branches.Which specific IAM permissions need to be added, based on the principle of least privilege? A. “codecommit:CreateBranch””codecommit:DeleteBranch” B. “codecommit:Put*” C. “codecommit:Update*” D. “codecommit:*” None QUESTION 6 A Developer created a Lambda function for a web application backend. When testing the Lambda function from theAWS Lambda console, the Developer can see that the function is being executed, but there is no log data beinggenerated in Amazon CloudWatch Logs, even after several minutes.What could cause this situation? A. The Lambda function does not have any explicit log statements for the log data to send it to CloudWatch Logs. B. The Lambda function is missing CloudWatch Logs as a source trigger to send log data. C. The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs. D. The Lambda function is missing a target CloudWatch Log group. None QUESTION 7 An on-premises application is implemented using a Linux, Apache, MySQL, and PHP (LAMP) stack. The Developerwants to run this application in AWS.Which of the following sets of AWS services can be used to run this stack? A. Amazon API Gateway, Amazon S3 B. AWS Lambda, Amazon DynamoDB C. Amazon EC2, Amazon Aurora D. Amazon Cognito, Amazon RDS E. Amazon ECS, Amazon EBS None QUESTION 8 A Developer is trying to deploy a serverless application using AWS CodeDeploy. The application was updated andneeds to be redeployed. What file does the Developer need to update to push that change through CodeDeploy? A. dockerrun.aws.json B. buildspec.yml C. appspec.yml D. extensions.config None QUESTION 9 A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. Userrequests from the browser are causing high traffic, which results in degraded performance. Which optimization solutionshould a developer implement to increase application performance? A. Create multiple prefixes in the S3 bucket to increase the request rate. B. Create an Amazon ElastiCache cluster to cache and serve frequently accessed items. C. Use Amazon CloudFront to serve the content of images stored in Amazon S3. D. Submit a ticket to AWS Support to request a rate limit increase for the S3 bucket. None QUESTION 10 A company has a web application that uses an Amazon Cognito user pool for authentication. The company wants tocreate a login page with the company logo. What should a developer do to meet these requirements? A. Create a hosted user interface in Amazon Cognito and customize it with the company logo B. Create a login page with the company logo and upload it to Amazon Cognito C. Create a login page in Amazon API Gateway with the logo and save the link in Amazon Cognito. D. Upload the logo to the Amazon Cognito app settings and point to the logo on a custom login page None QUESTION 11 An Amazon DynamoDB table uses a Global Secondary Index (GSI) to support read queries. The primary table is written heavy, whereas the GSI is used for reading operations. Looking at Amazon CloudWatch metrics, the Developer noticesthat write operations to the primary table are throttled frequently under heavy write activity. However, write capacity unitsto the primary table are available and not fully consumed.Why is the table being throttled? A. The GSI write capacity units are underprovisioned B. There are not enough read capacity units on the primary table C. Amazon DynamoDB Streams is not enabled on the table D. A large write operation is being performed against another table None QUESTION 12 An application writes items to an Amazon DynamoDB table. As the application scales to thousands of instances, calls tothe DynamoDB API generate occasional ThrottlingException errors. The application is coded in a language incompatiblewith the AWS SDK.How should the error be handled? A. Add exponential backoff to the application logic B. Use Amazon SQS as an API message bus C. Pass API calls through Amazon API Gateway D. Send the items to DynamoDB through Amazon Kinesis Data Firehose None QUESTION 13 An application running on Amazon EC2 opens connections to an Amazon RDS SQL Server database. The developerdoes not want to store the user name and password for the database in the code. The developer would also like toautomatically rotate the credentials.What is the MOST secure way to store and access the database credentials? A. Create an IAM role that has permissions to access the database. Attach the role to the EC2 instance. B. Use AWS Secrets Manager to store the credentials. Retrieve the credentials from Secrets Manager as needed. C. Store the credentials in an encrypted text file in an Amazon S3 bucket. Configure the EC2 instance\\’s user data to download the credentials from Amazon S3 as the instance boots. D. Store the user name and password credentials directly in the source code. No further action is needed because the source code is stored in a private repository. None Time's up