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 1–10 of 492

Q1

Which service allows real-time data streaming?

  • A Amazon Kinesis
  • B Amazon S3
  • C AWS Lambda
  • D Amazon RDS
Explanation Amazon Kinesis specializes in streaming data; S3 is for storage, Lambda for serverless functions, and RDS is for relational databases.
Q2

A company needs to integrate APIs and monitor usage. Which AWS service should they use?

  • A AWS CodePipeline
  • B Amazon API Gateway
  • C AWS CloudFormation
  • D Amazon S3
Explanation Amazon API Gateway facilitates API management and monitoring, while CodePipeline is for CI/CD and CloudFormation is for infrastructure as code.
Q3

You are configuring IAM roles for an EC2 instance. What happens if the instance does not have an attached IAM role?

  • A It cannot access AWS services.
  • B It will use default credentials.
  • C It will only access public resources.
  • D It will auto-assign an IAM role.
Explanation Without an IAM role, the instance cannot authenticate to AWS services; it cannot use default credentials, access is limited to public, and it won't auto-assign a role.
Q4

Which AWS service is mainly used for real-time data processing?

  • A AWS Lambda
  • B Amazon S3
  • C Amazon Athena
  • D Amazon EMR
Explanation Amazon EMR is designed for big data processing, while Lambda is for serverless computing and S3 is for storage.
Q5

A company needs to automatically scale its EC2 instances based on CPU usage. Which AWS feature should they use?

  • A Auto Scaling Groups
  • B Elastic Load Balancer
  • C CloudWatch Metrics
  • D Cost Explorer
Explanation Auto Scaling Groups manage instances based on demand, unlike the other options.
Q6

You are configuring AWS IAM roles for a new application. What happens when the application assumes the role with limited permissions?

  • A It gains full AWS access
  • B It gains only specified permissions
  • C It cannot function at all
  • D It inherits permissions from users
Explanation Assuming a role provides only the permissions granted to that role, so it won't have more access than specified.
Q7

Which service is used for monitoring AWS resources?

  • A AWS CloudWatch
  • B AWS IAM
  • C AWS S3
  • D AWS VPC
Explanation AWS CloudWatch monitors resources; others serve different functions.
Q8

A company needs to ensure that their EC2 instances automatically scale based on demand. Which AWS service should they use?

  • A Amazon SNS
  • B AWS Lambda
  • C Amazon EC2 Auto Scaling
  • D Amazon CloudFront
Explanation EC2 Auto Scaling adjusts instance count; others do not manage instance scaling.
Q9

What happens when an IAM user has policies that contradict each other?

  • A Deny takes precedence over allow.
  • B Allow takes precedence over deny.
  • C Policies are processed in random order.
  • D No effect on the user’s permissions.
Explanation Deny always takes precedence; allow can't override it.
Q10

Which service enables you to automate application deployment?

  • A AWS CloudFormation
  • B AWS EC2
  • C AWS Lambda
  • D AWS S3
Explanation AWS CloudFormation allows for automated deployment of infrastructure as code, while the others serve different purposes.