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 271–280 of 492

Q271

What can AWS CloudFormation be used to do?

  • A Provision AWS resources automatically
  • B Monitor application performance
  • C Allocate IP addresses dynamically
  • D Manage server load balancing
Explanation AWS CloudFormation automates the provisioning of AWS resources, while the others serve different purposes.
Q272

A company needs to store sensitive data securely in S3 and meet compliance requirements. Which S3 feature should they use?

  • A Public Access Block
  • B AWS Key Management Service (KMS)
  • C S3 Transfer Acceleration
  • D Lifecycle Policies
Explanation AWS KMS enables encryption for sensitive data, whereas the others do not focus on security/compliance directly.
Q273

You are configuring an EC2 instance and attach an IAM role. What is the impact?

  • A Role grants permissions to resources
  • B It replaces instance profile permissions
  • C Instance will not launch
  • D Changes are irreversible after launch
Explanation Attaching an IAM role grants the instance permissions to access AWS resources defined in the role policies, while the other options do not accurately describe the scenario.
Q274

Which AWS service allows you to run Docker containers?

  • A ECS
  • B Lambda
  • C DynamoDB
  • D RDS
Explanation ECS (Elastic Container Service) is specifically designed to run containerized applications, while the others serve different purposes.
Q275

A company needs to enhance its applications with a message-based architecture; which service would be most applicable?

  • A SQS
  • B CloudFront
  • C CloudFormation
  • D EC2
Explanation SQS (Simple Queue Service) provides message queuing, suitable for decoupled architectures, unlike the other listed services.
Q276

You are configuring IAM policies and want users to have read-only access to S3. What should the policy contain?

  • A s3:PutObject
  • B s3:GetObject
  • C s3:ListBuckets
  • D ALL Actions
Explanation s3:GetObject is required for read access; other options grant additional permissions or excessive access.
Q277

Which service allows you to easily run containerized applications?

  • A Amazon ECS
  • B AWS Lambda
  • C Amazon RDS
  • D AWS CodePipeline
Explanation Amazon ECS is designed specifically for running containerized applications, while the others serve different purposes.
Q278

A company needs to securely store sensitive customer data and retrieve it on demand. What should they use?

  • A Amazon S3
  • B AWS Secrets Manager
  • C AWS CloudFormation
  • D AWS CodeBuild
Explanation AWS Secrets Manager is designed to securely manage sensitive information, unlike the other options.
Q279

You are configuring an SQS queue. What happens when the message retention period is set to 14 days?

  • A Messages are deleted after 14 days
  • B Messages stay indefinitely
  • C Immediate deletion upon timeout
  • D Retention not allowed for duration
Explanation Messages will be automatically deleted after the 14-day retention period expires.
Q280

Which AWS service is best for automating server provisioning?

  • A AWS CloudFormation
  • B AWS Lambda
  • C Amazon S3
  • D Amazon EC2
Explanation AWS CloudFormation automates infrastructure provisioning; Lambda executes code, S3 stores data, and EC2 runs instances.