Vcehome > Amazon > AWS Certified Associate > DVA-C01 > DVA-C01 Online Practice Questions and Answers

DVA-C01 Online Practice Questions and Answers

Questions 4

A Developer has been asked to build a real-time dashboard web application to visualize the key prefixes and storage size of objects in Amazon S3 buckets. Amazon DynamoDB will be used to store the Amazon S3 metadata. What is the optimal and MOST cost-effective design to ensure that the real-time dashboard is kept up to date with the state of the objects in the Amazon S3 buckets?

A. Use an Amazon CloudWatch event backed by an AWS Lambda function. Issue an Amazon S3 API call to get a list of all Amazon S3 objects and persist the metadata within DynamoDB. Have the web application poll the DynamoDB table to reflect this change.

B. Use Amazon S3 Event Notification backed by a Lambda function to persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.

C. Run a cron job within an Amazon EC2 instance to list all objects within Amazon S3 and persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.

D. Create a new Amazon EMR cluster to get all the metadata about Amazon S3 objects; persist the metadata into DynamoDB. Have the web application poll the DynamoDB table to reflect this change.

Browse 703 Q&As
Questions 5

A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being triggered.

Which option would enable DynamoDB table updates to trigger the Lambda function?

A. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table

B. Configure event source mapping for the Lambda function

C. Map an Amazon SNS topic to the DynamoDB streams

D. increase the maximum execution time (timeout) setting of the Lambda function

Browse 703 Q&As
Questions 6

A company is running an application on AWS Elastic Beanstalk. The company must monitor memory usage of the underlying Amazon EC2 instances that run Amazon Linux Amazon Machine Images (AMIs). Which solution will meet this requirement?

A. Configure AWS CloudTrail.

B. Add a custom Amazon CloudWatch metric by using a .ebextensions file.

C. Use Elastic Beanstalk basic health reporting.

D. Enable Elastic Beanstalk enhanced health reporting.

Browse 703 Q&As
Questions 7

A Developer has created a large Lambda function, and deployment is failing with the following error:

ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Unzipped size must be smaller than XXXXXXXXX bytes', where XXXXXXXXX is the current Lambda limit What can the Developer do to fix this problem?

A. Submit a limit increase request to AWS Support to increase the function to the size needed.

B. Use a compression algorithm that is more efficient than ZIP.

C. Break the function into multiple smaller Lambda functions.

D. ZIP the ZIP file twice to compress it further.

Browse 703 Q&As
Questions 8

An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads.

How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?

A. Change the existing Lambda function handling the uploads to create thumbnails at the time of upload.Have the function store both the image and thumbnail in Amazon S3.

B. Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.

C. Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.

D. Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.

Browse 703 Q&As
Questions 9

A developer is writing an application that will process data delivered into an Amazon S3 bucket. The data is delivered approximately 10 times a day, and the developer expects the data will be processed in less than 1 minute, on average. How can the developer deploy and invoke the application with the lowest cost and lowest latency?

A. Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch alarm triggered by an S3 object upload.

B. Deploy the application as an AWS Lambda function and invoke it with an S3 event notification.

C. Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch scheduled event.

D. Deploy the application onto an Amazon EC2 instance and have it poll the S3 bucket for new objects.

Browse 703 Q&As
Questions 10

A developer has written an Amazon kinesis Data streams application. As usage grows and traffic over time, the application is regularly receiving provisionedThroughputExceededException error messages. Which steps should the Developer take to resolve the error? (Select Two.)

A. Use Auto scaling to scale the stream for better performance.

B. Increase the delay between the GetRecords call and the PutRecords call.

C. Increase the number of shards in the data stream.

D. Specify a shard iterator using the shardlterator parameter.

E. Implement exponential backoff on the GetRecords call and the PutRecords call.

Browse 703 Q&As
Questions 11

A developer is building a website that will be hosted in an Amazon S3 bucket with static website hosting enabled. The developer will use Amazon Route 53 for the DNS service and will use an alias record to point the company's domain to the bucket. The developer must redirect one S3 object to a different URL.

What should the developer use so that the redirect will work correctly from a page on the website?

A. A Route 53 CNAME alias record that points to the new location

B. An S3 object-level redirect through system-defined metadata

C. A Route 53 A record that points to the new location

D. A redirect that is configured within the S3 bucket's policy

Browse 703 Q&As
Questions 12

A developer is troubleshooting the permissions of an application that needs to make changes to an Amazon RDS database. The developer has access to the IAM role that the application is using. Which command structure should the developer use to test the role permissions?

A. aws sts assume-role

B. aws iam attach-role-policy

C. aws ssm resume-session

D. aws rds add-role-to-db-cluster

Browse 703 Q&As
Questions 13

A developer has written an application that writes data to Amazon DynamoDB-The DynamoDB table has been configured to use conditional writes During peak usage times, writes are failing due to a CondittonatCheckFailedException error.

How can the developer increase the application's reliability when multiple clients are attempting to write to the same record?

A. Write the data to an Amazon SNS topic.

B. Increase the amount of write capacity for the table to anticipate short-term spikes or bursts m write operations

C. Implement a caching solution, such as DynamoDB Accelerator or Amazon ElastiCache.

D. Implement error retries and exponential backoff with jitter.

Browse 703 Q&As
Exam Code: DVA-C01
Exam Name: AWS Certified Developer - Associate (DVA-C01)
Last Update: Dec 08, 2023
Questions: 703 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99