Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free AWS Certified Developer Associate Exam (DVA-C02) Practice Questions

Question # 71

A developer is building a new application that uses an Amazon DynamoDB table The specification states that all items that are older than 48 hours must be removed.

Which solution will meet this requirement?

Options:

A.  

Create a new attribute that has the Number data type Add a local secondary index (LSI) for this attribute and enable TTL with an expiration of 48 hours In the application code set the value of this attribute to the current timestamp for each new item that is being inserted

B.  

Create a new attribute that has the String data type Add a local secondary index (LSI) for this attribute, and enable TTL with an expiratiotvof 48 hours In the application code set the value of this attribute to the current timestamp for each new item that is being inserted.

C.  

Create a new attribute that has the Number data type Enable TTL on the DynamoDB table for this attribute In the application code set the value of this attribute to the current timestamp plus 48 hours for each new item that is being inserted

D.  

Create a new attribute that has the String data type Enable TTL on the DynamoDB table for this attribute in the application code, set the value of this attribute to the current timestamp plus 48 hours for each new item that is being inserted.

Discussion 0
Question # 72

A developer tested an application locally and then deployed it to AWS Lambda While testing the application remotely the Lambda function fails with an access denied message How can this issue be addressed?

Options:

A.  

Update the Lambda function's execution role to include the missing permissions

B.  

Update the Lambda function's resource policy to include the missing permissions

C.  

Include an 1AM policy document at the root of the deployment package and redeploy the Lambda function.

D.  

Redeploy the Lambda function using an account with access to the AdministratorAccess policy

Discussion 0
Question # 73

A developer has created a Node js web application on a local development machine. The developer wants to use AWS technology to host the website. The developer needs a solution that requires the least possible operational overhead and no code changes.

Which AWS service should the developer use to meet these requirements?

Options:

A.  

AWS Elastic Beanstalk

B.  

Amazon EC2

C.  

AWS Lambda

D.  

Amazon Elastic Kubernetes Service (Amazon EKS)

Discussion 0
Question # 74

A developer is migrating a legacy monolithic application to AWS and wants to convert the application's internal processes to microservices The application's internal processes communicate through internal asynchronous messaging Occasionally, messages need to be reprocessed by multiple microservices

How should the developer migrate the application's internal messaging to AWS to meet these requirements?

Options:

A.  

Use Amazon Simple Queue Service (Amazon SQS) queues to communicate messages between the microservices

B.  

Use Amazon API Gateway to provide REST interfaces between the microservices

C.  

Use Amazon Kinesis Data Streams to communicate messages between the microservices

D.  

Use Amazon API Gateway to provide WebSocket APIs between the microservices.

Discussion 0
Question # 75

A company wants to make sure that only one user from its Admin group has the permanent right to delete an Amazon EC2 resource There should be no changes in the existing policy under the Admin group What should a developer use to meet these requirements?

Options:

A.  

AWS managed policy

B.  

Inline policy

C.  

IAM trust relationship

D.  

AWS Security Token Service (AWS STS)

Discussion 0

AWS-Certified-Developer-Associate PDF

AWS-Certified-Developer-Associate PDF (Printable)
$52.5
$150

AWS-Certified-Developer-Associate Testing Engine

AWS-Certified-Developer-Associate PDF (Printable)
$70
$200

AWS-Certified-Developer-Associate PDF + Testing Engine

AWS-Certified-Developer-Associate PDF (Printable)
$104.65
$299

Free Exams Sample Questions