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 91–100 of 492

Q91

Which service helps run code without provisioning servers?

  • A AWS Lambda
  • B Amazon S3
  • C Amazon EC2
  • D AWS Codestar
Explanation AWS Lambda allows code execution in response to events without server management, while S3 and EC2 are storage and compute services, respectively.
Q92

A company needs to gather detailed metrics from various AWS resources. Which service should be deployed?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS X-Ray
  • D Amazon SNS
Explanation Amazon CloudWatch collects and tracks metrics for AWS resources; CloudTrail logs API calls, X-Ray analyzes apps, and SNS is for notifications.
Q93

You are configuring an S3 bucket for static website hosting. What must be enabled to access the website?

  • A Bucket policy
  • B IAM role
  • C CloudFront distribution
  • D Data encryption
Explanation A bucket policy must allow public access to enable static website hosting; IAM roles and encryption do not affect accessibility in this context.
Q94

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Elastic Beanstalk
Explanation AWS Lambda enables serverless compute without provisioning servers, while the others require server management.
Q95

A company needs to automate its deployment pipeline. Which AWS service should they primarily use?

  • A AWS CloudFormation
  • B AWS CodeDeploy
  • C AWS CodePipeline
  • D AWS Elastic Beanstalk
Explanation AWS CodePipeline is designed for automating deployment pipelines, while the other options serve different purposes.
Q96

What happens when a user is denied access due to an IAM policy?

  • A They can still access the resource
  • B Their access is granted in the next request
  • C Access is immediately denied
  • D They receive a notification
Explanation Access is immediately denied, while the other options reflect incorrect behaviors of IAM policies.
Q97

Which service is primarily used for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D AWS RDS
Explanation AWS Lambda is designed for serverless execution, while EC2, S3, and RDS are not serverless services.
Q98

A company needs to ensure secure access control for its secrets management. Which AWS service should they use?

  • A AWS Secrets Manager
  • B AWS CodeCommit
  • C AWS CloudTrail
  • D Amazon S3
Explanation AWS Secrets Manager is specifically designed for managing secrets securely, unlike CodeCommit, CloudTrail, and S3.
Q99

What happens when you enable versioning on an S3 bucket?

  • A All previous versions are deleted
  • B You can restore previous versions
  • C Versioning can’t be disabled
  • D Storage costs decrease
Explanation Enabling versioning allows restoration of previous object versions, while the other options are incorrect regarding versioning behavior.
Q100

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B EC2
  • C S3
  • D RDS
Explanation AWS Lambda runs code in response to events without server management, while EC2 requires server provisioning.