Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps (page: 13)

Page 13 of 116

A developer has written the following IAM policy to provide access to an Amazon S3
bucket:
Which access does the policy allow regarding the s3:GetObject and s3:PutObject actions?

  1. Access on all buckets except the “DOC-EXAMPLE-BUCKET” bucket
  2. Access on all buckets that start with “DOC-EXAMPLE-BUCKET” except the
    “DOC-EXAMPLE-BUCKET/secrets” bucket
  3. Access on all objects in the “DOC-EXAMPLE-BUCKET” bucket along with access to all S3 actions for objects in the “DOC-EXAMPLE-BUCKET” bucket that start with “secrets”
  4. Access on all objects in the “DOC-EXAMPLE-BUCKET” bucket except on objects that start with “secrets”

Answer(s): D



A developer is creating a mobile app that calls a backend service by using an Amazon
API Gateway REST API. For integration testing during the development phase, the developer wants to simulate different backend responses without invoking the backend service.
Which solution will meet these requirements with the LEAST operational overhead?

  1. Create an AWS Lambda function. Use API Gateway proxy integration to return constant HTTP responses.
  2. Create an Amazon EC2 instance that serves the backend REST API by using an
    AWS CloudFormation template.
  3. Customize the API Gateway stage to select a response type based on the request.
  4. Use a request mapping template to select the mock integration response.

Answer(s): D



A developer has a legacy application that is hosted on-premises. Other applications hosted on AWS depend on the on-premises application for proper functioning. In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place.
How can the developer accomplish this?

  1. Install an AWS SDK on the on-premises server to automatically send logs to
    CloudWatch.
  2. Download the CloudWatch agent to the on-premises server. Configure the agent to use IAM user credentials with permissions for CloudWatch.
  3. Upload log files from the on-premises server to Amazon S3 and have
    CloudWatch read the files.
  4. Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.

Answer(s): B



An Amazon Kinesis Data Firehose delivery stream is receiving customer data that contains personally identifiable information. A developer needs to remove pattern-based customer identifiers from the data and store the modified data in an
Amazon S3 bucket.
What should the developer do to meet these requirements?

  1. Implement Kinesis Data Firehose data transformation as an AWS Lambda function. Configure the function to remove the customer identifiers. Set an
    Amazon S3 bucket as the destination of the delivery stream.
  2. Launch an Amazon EC2 instance. Set the EC2 instance as the destination of the delivery stream. Run an application on the EC2 instance to remove the customer identifiers. Store the transformed data in an Amazon S3 bucket.
  3. Create an Amazon OpenSearch Service instance. Set the OpenSearch Service instance as the destination of the delivery stream. Use search and replace to remove the customer identifiers. Export the data to an Amazon S3 bucket.
  4. Create an AWS Step Functions workflow to remove the customer identifiers. As the last step in the workflow, store the transformed data in an Amazon S3
    bucket. Set the workflow as the destination of the delivery stream.

Answer(s): A



Page 13 of 116



Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam with other Community members:

Ernesto commented on August 26, 2024
Prepared and passed this exam. Valid question and very tough exam. So good luck.
Spain
upvote