Amazon AWS

AWS Certified Developer – Associate

DVA-C02
Popular

The AWS Certified Developer – Associate (DVA-C02) exam tests your proficiency in developing applications on AWS. It is designed for developers looking to validate their skills in AWS development.

492 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 411–420 of 492

Q411

A company needs to retain compliance logs for 6 months. What happens if they set an S3 Lifecycle Policy to delete logs after 3 months?

  • A They retain logs for 3 months
  • B Logs will be preserved indefinitely
  • C Logs will be kept for 6 months
  • D Lifecycle policy cannot delete logs
Explanation The policy deletes logs after 3 months; other options suggest incorrect retention behavior.
Q412

Which service is best for handling real-time data streams?

  • A AWS IoT Core
  • B Amazon Kinesis
  • C AWS Lambda
  • D Amazon SQS
Explanation Amazon Kinesis is designed specifically for real-time data processing, unlike others.
Q413

A company needs a backup solution for their S3 data. What should they implement?

  • A S3 Transfer Acceleration
  • B S3 Intelligent-Tiering
  • C S3 Cross-Region Replication
  • D S3 Lifecycle Policies
Explanation S3 Cross-Region Replication automatically backs up data in another region.
Q414

You are configuring an EC2 instance. What happens when you stop and then start the instance?

  • A Loss of the instance's public IP
  • B Data in ephemeral storage is preserved
  • C Instance type cannot be changed
  • D Volume size is reduced
Explanation Stopping an EC2 instance releases the public IP, while data in ephemeral storage is lost.
Q415

Which AWS service is ideal for building serverless applications?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D Amazon S3
Explanation AWS Lambda allows running code without provisioning servers, while EC2, RDS, and S3 are not serverless solutions.
Q416

A company needs to recreate lost data and minimize downtime; which Amazon service will help?

  • A Amazon Glacier
  • B Amazon RDS Read Replicas
  • C Amazon S3 Versioning
  • D AWS Direct Connect
Explanation Amazon S3 Versioning keeps multiple versions of an object, aiding in data recovery and minimizing downtime, unlike the other options.
Q417

You are configuring IAM policies; which policy type allows precise control over resources?

  • A Identity Policy
  • B Resource Policy
  • C Inline Policy
  • D Service Control Policy
Explanation Resource Policies allow fine-grained control over access to specific resources, while the others provide broader or different controls.
Q418

Which AWS service provides a serverless compute environment?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D Amazon S3
Explanation AWS Lambda allows you to run code without provisioning servers, while the other options require server management.
Q419

A company needs to grant temporary access to their S3 bucket. What should they use?

  • A IAM users
  • B Bucket policy
  • C IAM roles
  • D Public access
Explanation IAM roles are ideal for granting temporary access, unlike users which are permanent.
Q420

What happens when an instance is stopped in an EC2 auto-scaling group?

  • A Instance is terminated
  • B Instance is restarted
  • C Scaling adjusts automatically
  • D Instance state is preserved
Explanation The auto-scaling group will launch a new instance to maintain the desired capacity after stopping an instance.