New Year Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

Note! Following DVA-C01 Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is DVA-C02

DVA-C01 Exam Dumps - AWS Certified Developer Associate Exam

Go to page:
Question # 41

A Developer writes an AWS Lambda function and uploads the code in a .ZIP file to Amazon S3. The Developer makes changes to the code and uploads a new .ZIP file to Amazon S3. However, Lambda executes the earlier code.

How can the Developer fix this in the LEAST disruptive way?

A.

Create another Lambda function and specify the new .ZIP file.

B.

Call the update-function-code API.

C.

Remove the earlier .ZIP file first, then add the new .ZIP file.

D.

Call the create-alias API.

Full Access
Question # 42

A Developer needs to design an application running on AWS that will be used to consume Amazon SQS messages that range from 1 KB up to 1GB in size.

How should the Amazon SQS messages be managed?

A.

Use Amazon S3 and the Amazon SQS CLI.

B.

Use Amazon S3 and the Amazon SQS Extended Client Library for Java.

C.

Use Amazon EBS and the Amazon SQS CLI.

D.

Use Amazon EFS and the Amazon SQS CLI.

Full Access
Question # 43

A developer is implementing an AWS Lambda function that will be invoked when an object is uploaded to Amazon S3. The developer wants to test the Lambda function in a local development machine before publishing the function to a production AWS account.

Which solution will meet these requirements with the LEAST operational overhead?

A.

Upload an object to Amazon S3 by using the aws s3api put-object CLI command. Wait for the local Lambda invocation from the S3 event.

B.

Create a sample JSON text file for a put object S3 event. Invoke the Lambda function locally. Use the aws lambda invoke CLI command with the JSON file and Lambda function name as arguments.

C.

Use the sam local start-lambda CLI command lo start Lambda. Use the sam local generate-event s3 put CLI command to create the Lambda test JSON file. Use the sam local invoke CLI command with the JSON file as the argument to invoke the Lambda function.

D.

Create a JSON string for the put object S3 event. In the AWS Management Console, use the JSON string to create a test event for the local Lambda function. Perform the test.

Full Access
Question # 44

A company has written a Java AWS Lambda function to be triggered whenever a user uploads an image to an Amazon S3 bucket. The function converts the original image to several different formats and then copies the resulting images to another Amazon S3 bucket.

The Developers find that no images are being copied to the second Amazon S3 bucket. They have tested the code on an Amazon EC2 instance with 1GB of RAM, and it takes an average of 500 seconds to complete.

What is the MOST likely cause of the problem?

A.

The Lambda function has insufficient memory and needs to be increased to 1 GB to match the Amazon EC2 instance

B.

Files need to be copied to the same Amazon S3 bucket for processing, so the second bucket needs to be deleted.

C.

Lambda functions have a maximum execution limit of 300 seconds, therefore the function is not completing.

D.

There is a problem with the Java runtime for Lambda, and the function needs to be converted to node.js.

Full Access
Question # 45

A web application is using Amazon Kinesis Streams for clickstream data that may not be consumed for up to 12 hours.

How can the Developer implement encryption at rest for data within the Kinesis Streams?

A.

Enable SSL connections to Kinesis

B.

Use Amazon Kinesis Consumer Library

C.

Encrypt the data once it is at rest with a Lambda function

D.

Enable server-side encryption in Kinesis Streams

Full Access
Question # 46

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.

Full Access
Question # 47

company needs a fully-managed source control service that will work in AWS. The service must ensure that revision control synchronizes multiple distributed repositories by exchanging sets of changes peer-to-peer. All users need to work productively even when not connected to a network.

Which source control service should be used?

A.

Subversion

B.

AWS CodeBuild

C.

AWS CodeCommit

D.

AWS CodeStar

Full Access
Question # 48

For a deployment using AWS CodeDeploy, what is the run order of the hooks for in-place deployments?

A.

Before Install -> Application Stop -> Application Start -> After Install

B.

Application Stop -> Before Install -> After Install -> Application Start

C.

Before Install -> Application Stop -> Validate Service -> Application Start

D.

Application Stop -> Before Install -> Validate Service -> Application Start

Full Access
Go to page: