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 41–50 of 492

Q41

A company needs to manage its access keys securely for multiple users. What should they use?

  • A IAM Roles
  • B CloudTrail
  • C AWS Secrets Manager
  • D S3 Bucket Policies
Explanation AWS Secrets Manager helps in securely managing access keys, whereas IAM Roles manages permissions.
Q42

What happens when an EC2 instance's security group does not allow inbound traffic on port 80?

  • A HTTP traffic is blocked
  • B All traffic is allowed
  • C Only outbound traffic is affected
  • D SSH access is blocked
Explanation Inbound traffic on port 80 being blocked prevents HTTP access; other options don't describe this behavior correctly.
Q43

Which AWS service provides a managed NoSQL database?

  • A Amazon DynamoDB
  • B Amazon RDS
  • C Amazon Redshift
  • D Amazon Aurora
Explanation Amazon DynamoDB is the managed NoSQL service, while others are SQL or data warehouse services.
Q44

A company needs to deploy a web application for elastic scalability. Which AWS service should they use?

  • A AWS Lambda
  • B Amazon Lightsail
  • C Amazon EC2
  • D AWS Elastic Beanstalk
Explanation AWS Elastic Beanstalk provides scalable application deployment compared to the other choices.
Q45

What happens when you configure an IAM user without permissions?

  • A User can access all resources
  • B User can access no resources
  • C User needs API keys
  • D User can modify IAM policies
Explanation An IAM user without permissions can access no resources; all resources require explicit permissions.
Q46

Which service is used for serverless event-driven execution?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Fargate
  • D Amazon RDS
Explanation AWS Lambda executes code in response to events, while the other options require server management or handle specific workloads.
Q47

A company needs to deploy a web app with no downtime. Which should it use?

  • A AWS CodeDeploy
  • B Amazon EC2
  • C S3 Static Hosting
  • D Amazon EBS
Explanation AWS CodeDeploy automates deployment with minimal downtime; the others do not specifically handle deployment strategies.
Q48

What happens when you change an IAM user's password policy?

  • A It applies to all existing users.
  • B Only new users get the new policy.
  • C It won't affect existing users.
  • D Only admins can change it.
Explanation Existing users retain their passwords if the policy changes; only new users will follow updated policies.
Q49

Which service allows you to run serverless code in response to events?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D AWS Elastic Beanstalk
Explanation AWS Lambda runs code without provisioning servers; the others require specific server setups.
Q50

A company needs to store sensitive data securely. Which AWS service should they use to handle encryption keys?

  • A Amazon S3
  • B AWS KMS
  • C AWS IAM
  • D AWS CloudTrail
Explanation AWS KMS is designed specifically for managing encryption keys; the others do not focus solely on key management.