AWS DVA-C01 practice test

Welcome to your AWS DVA-C01 practice test


A Developer has created an S3 bucket s3://mycoolapp and has enabled server across logging that points to the folder
s3://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 company is developing an application that will be accessed through the Amazon API Gateway REST API Registered
users should be the only ones who can access certain resources of this API. The token being used should expire
automatically and needs to be refreshed periodically.
How can a developer meet these requirements\\’?


A Developer has set up an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. A
Lambda function has been configured to process these records. In which order will these records be processed?


A Developer must re-implement the business logic for an order fulfillment system. The business logic has to make
requests to multiple vendors to decide where to purchase an item. The whole process can take up to a week to
complete. What is the MOST efficient and SIMPLEST way to implement a system that meets these requirements?


A Developer accesses AWS CodeCommit over SSH. The SSH keys configured to access AWS CodeCommit are tied to
a user with the following permissions:
lead4pass dva-c01 practice test q5
The Developer needs to create/delete branches.
Which specific IAM permissions need to be added, based on the principle of least privilege?


A Developer created a Lambda function for a web application backend. When testing the Lambda function from the
AWS Lambda console, the Developer can see that the function is being executed, but there is no log data being
generated in Amazon CloudWatch Logs, even after several minutes.
What could cause this situation?


An on-premises application is implemented using a Linux, Apache, MySQL, and PHP (LAMP) stack. The Developer
wants to run this application in AWS.
Which of the following sets of AWS services can be used to run this stack?


A Developer is trying to deploy a serverless application using AWS CodeDeploy. The application was updated and
needs to be redeployed. What file does the Developer need to update to push that change through CodeDeploy?


A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. User
requests from the browser are causing high traffic, which results in degraded performance. Which optimization solution
should a developer implement to increase application performance?


A company has a web application that uses an Amazon Cognito user pool for authentication. The company wants to
create a login page with the company logo. What should a developer do to meet these requirements?


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 notices
that write operations to the primary table are throttled frequently under heavy write activity. However, write capacity units
to the primary table are available and not fully consumed.
Why is the table being throttled?


An application writes items to an Amazon DynamoDB table. As the application scales to thousands of instances, calls to
the DynamoDB API generate occasional ThrottlingException errors. The application is coded in a language incompatible
with the AWS SDK.
How should the error be handled?


An application running on Amazon EC2 opens connections to an Amazon RDS SQL Server database. The developer
does not want to store the user name and password for the database in the code. The developer would also like to
automatically rotate the credentials.
What is the MOST secure way to store and access the database credentials?