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 161–170 of 492

Q161

You are configuring an AWS IAM policy. What happens when you declare multiple 'Deny' statements?

  • A Prioritize the first deny
  • B Block all actions unless overridden
  • C They cancel each other out
  • D All rules combine for less access
Explanation Multiple 'Deny' statements block actions unless overridden by explicit 'Allow', while the other options misinterpret IAM behavior.
Q162

A company needs to keep frequently accessed data in a cost-effective manner. Which storage class should they use for Amazon S3?

  • A S3 Standard
  • B S3 Glacier
  • C S3 Intelligent-Tiering
  • D S3 One Zone-IA
Explanation S3 Standard is best for frequently accessed data; Glacier is for archival, Intelligent-Tiering for unpredictable access, and One Zone-IA is for lower availability requirements.
Q163

Which service provides a managed NoSQL database solution?

  • A Amazon DynamoDB
  • B Amazon S3
  • C Amazon RDS
  • D Amazon Redshift
Explanation DynamoDB is designed for NoSQL, while others are for relational or data warehouse solutions.
Q164

A company needs to automate deployment of applications. Which AWS service should they use?

  • A AWS CodeDeploy
  • B AWS Lambda
  • C AWS CloudFormation
  • D Amazon EC2
Explanation AWS CodeDeploy automates deployment, while others serve different purposes.
Q165

What happens when you delete an Amazon S3 bucket with lifecycle policies?

  • A Lifecycle policies remain active
  • B Bucket is deleted with policies
  • C Policies are copied to another bucket
  • D Policies are disabled, bucket deleted
Explanation Deletion of the bucket also removes all associated lifecycle policies.
Q166

Which service is best for managing application secrets securely?

  • A AWS Secrets Manager
  • B AWS Lambda
  • C AWS CloudFormation
  • D AWS CodeDeploy
Explanation AWS Secrets Manager is designed for managing secrets securely, while the other options serve different purposes in AWS.
Q167

A company needs to run a containerized application on AWS with minimal management. Which service should they use?

  • A Amazon EC2
  • B Amazon ECS
  • C Amazon S3
  • D Amazon RDS
Explanation Amazon ECS simplifies container management, while EC2 requires more manual management and the others do not handle containers.
Q168

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

  • A Instance connects to VPC only
  • B Role allows instance AWS API access
  • C Instance gains additional CPU power
  • D Role affects data stored on EBS
Explanation IAM roles grant EC2 instances permissions to AWS APIs, while the other options are incorrect regarding IAM role functionality.
Q169

Which service helps manage sensitive data for applications?

  • A AWS Secrets Manager
  • B CloudTrail
  • C EC2
  • D CloudFormation
Explanation AWS Secrets Manager securely stores sensitive data, while others do not focus on secrets management.
Q170

A company needs to automatically scale its EC2 instances based on demand. Which service should they use?

  • A AWS Auto Scaling
  • B AWS CloudWatch
  • C AWS Lambda
  • D AWS EC2 Resource Tagging
Explanation AWS Auto Scaling enables automatic scaling; the others do not provide this capability directly.