AWS-Certified-Developer-Associate-DVA-C01 AWS Certified Developer Associate (DVA-C01)

Loading demo links...

Showing 4–6 of 20 questions

Question 4

A Developer has created a software package to be deployed on multiple EC2 instances using IAM roles.

What actions could be performed to verify IAM access to get records from Amazon Kinesis Streams? (Choose two.)

Select all that apply, then click Submit answer.

  • Use the AWS CLI to retrieve the IAM group.

  • Query Amazon EC2 metadata for in-line IAM policies.

  • Request a token from AWS STS, and perform a describe action.

  • Perform a get action using the –-dry-run argument.

  • Validate the IAM role policy with the IAM policy simulator.

Question 5

An application is processing clickslream data using Amazon Kinesis. The clickstream data feed into Kinesis experiences periodic spikes. The PutRecords API call occasionally fails and the logs show that the failed call returns the response shown below.

Which techniques will help mitigate this exception? (Select TWO.)

Select all that apply, then click Submit answer.

  • Implement retries with exponential backoff

  • Use a PutRecord API instead of PutRecords

  • Reduce the frequency and/or size of the requests

  • Use Amazon SNS instead of Kinesis.

  • Reduce the number of KCL consumers.

Question 6

A Developer wants to use AWS X-Ray to trace a user request end-to-end throughput the software stack. The Developer made the necessary changes in the application, tested it, and found that the application is able to send the traces to AWS X-Ray. However, when the application is deployed to an EC2 instance, the traces are not available.

Which of the following could create this situation? (Choose two.)

Select all that apply, then click Submit answer.

  • The traces are reaching X-Ray, but the Developer does not have access to view the records.

  • The X-Ray daemon is not installed on the EC2 instance.

  • The X-Ray endpoint specified in the application configuration is incorrect.

  • The instance role does not have “xray:BatchGetTraces” and “xray:GetTraceGraph” permissions.

  • The instance role does not have “xray:PutTraceSegments” and “xray:PutTelemetryRecords” permissions.