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 371–380 of 492

Q371

A company needs to ensure their S3 bucket can only accept uploads from their AWS accounts and specific IP ranges. What should they configure?

  • A Bucket Policy
  • B IAM Role
  • C CloudTrail Logs
  • D S3 Lifecycle Policy
Explanation Bucket Policies control access from specified accounts; the others deal with logging or data management.
Q372

What happens when you assign a security group to an EC2 instance?

  • A Access permissions granted immediately
  • B Default permissions applied immediately
  • C Previous group's permissions lost
  • D No effect until instance reboot
Explanation Security group rules take effect immediately; others suggest incorrect timing or permissions management.
Q373

Which service can automatically scale applications based on demand?

  • A AWS Lambda
  • B Amazon EC2 Auto Scaling
  • C Amazon RDS
  • D Amazon S3
Explanation Amazon EC2 Auto Scaling automatically adjusts the number of instances in response to traffic, while the other options do not provide this capability.
Q374

A company needs to securely manage access to AWS services and resources. What is the best approach?

  • A Use IAM roles only
  • B Enable AWS Config
  • C Utilize IAM policies
  • D Deploy CloudTrail
Explanation Utilizing IAM policies is the best method to manage access permissions, while other options do not directly handle access management.
Q375

What happens when a CloudFormation stack is deleted?

  • A Resources are retained permanently
  • B All resources are deleted
  • C Stack transitions to 'UPDATE_COMPLETE'
  • D Resources go to a suspended state
Explanation All resources created by the stack are deleted unless specified to retain, while the other options describe incorrect behaviors.
Q376

Which service provides tools for building serverless applications?

  • A AWS Lambda
  • B Amazon RDS
  • C Amazon EC2
  • D Amazon S3
Explanation AWS Lambda allows for serverless execution of code, while the others are service-oriented architecture platforms or storage solutions.
Q377

A company needs to temporarily grant developers access to production resources. Which IAM feature should they use?

  • A Static policies
  • B Identity-based policies
  • C IAM roles
  • D Service control policies
Explanation IAM roles allow for temporary, limited access to resources, unlike the other options which are more static.
Q378

What happens when you enable versioning on an S3 bucket?

  • A Only latest version stored
  • B All versions retained
  • C Versions deleted automatically
  • D Can't delete old versions
Explanation Enabling versioning retains all versions of objects, while the other options incorrectly describe S3 behavior.
Q379

Which service allows automatic scaling of EC2 instances based on demand?

  • A Auto Scaling
  • B Elastic Load Balancer
  • C AWS Lambda
  • D Amazon RDS
Explanation Auto Scaling adjusts instance counts based on demand; others do not provide this function.
Q380

A company needs to store sensitive user data in a securely encrypted format. What is the best strategy?

  • A S3 with public access
  • B S3 with server-side encryption
  • C RDS with plaintext data
  • D DynamoDB without encryption
Explanation S3 with server-side encryption ensures data is encrypted; the others expose sensitive data to vulnerabilities.