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 331–340 of 492

Q331

A company needs to process data streams in real-time. Which AWS service is best suited for this purpose?

  • A Amazon Kinesis
  • B AWS Snowball
  • C Amazon S3
  • D AWS Backup
Explanation Amazon Kinesis is designed for real-time data streaming, while the other options focus on different data processing or storage methods.
Q332

What happens when you assign an IAM role to an EC2 instance?

  • A Access to S3 is revoked
  • B Instance gains AWS service permissions
  • C Instance becomes a public endpoint
  • D Role applied to all users
Explanation Assigning an IAM role allows the EC2 instance to automatically gain specified permissions to access AWS services, unlike the other options which are incorrect.
Q333

You are configuring an AWS Lambda function with VPC access. What must you ensure?

  • A Subnet has Internet Gateway
  • B Lambda has a public IP address
  • C Subnets are private and have NAT
  • D Role has EC2 permissions
Explanation For Lambda to access resources outside a VPC while in private subnets, a NAT gateway is required; the other options do not ensure proper access configuration.
Q334

Which service automates server configuration management?

  • A AWS CloudFormation
  • B AWS Lambda
  • C AWS EC2
  • D AWS S3
Explanation AWS CloudFormation automates resource management; the others do not focus on configuration management.
Q335

A company needs to deploy a new application with minimum downtime. What should they use?

  • A Route 53 failover routing
  • B Elastic Load Balancing
  • C CloudFront distribution
  • D AWS Shield
Explanation Elastic Load Balancing distributes traffic effectively to minimize downtime; the others do not directly ensure uptime during deployment.
Q336

What happens when a security group rule is changed?

  • A Changes take effect immediately
  • B New rules are applied after reboot
  • C Rules require regional replication
  • D Instances must be recreated for changes
Explanation Security group rule changes are applied immediately without requiring reboots or deployments; the other options imply unnecessary delays or actions.
Q337

Which service automatically scales resources for applications?

  • A Amazon EC2 Auto Scaling
  • B Amazon Simple Storage Service
  • C Amazon CloudFront
  • D AWS Config
Explanation Amazon EC2 Auto Scaling dynamically adjusts resources based on demand; the others do not provide scaling capabilities.
Q338

A company needs a highly durable storage for backups at minimal cost. Which service should they choose?

  • A Amazon S3 Standard
  • B Amazon Glacier
  • C Amazon EFS
  • D Amazon FSx
Explanation Amazon Glacier is designed for low-cost archival storage; S3 Standard and EFS have higher costs for durable and immediate access.
Q339

What happens when you delete an IAM user's access key?

  • A Key can be retrieved later
  • B User loses all access
  • C Key is permanently deleted
  • D Access key is disabled only
Explanation Deleting an IAM access key permanently removes it; the other options describe incorrect scenarios regarding access or key state.
Q340

Which service is used for AWS Lambda deployments?

  • A AWS CodeDeploy
  • B AWS CloudFormation
  • C AWS CodePipeline
  • D AWS CodeBuild
Explanation AWS CodePipeline automates the deployment of Lambda functions, while others serve different purposes.