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 61–70 of 492

Q61

Which service is used for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS CloudFormation
Explanation AWS Lambda allows for serverless function execution, while others are not serverless solutions.
Q62

A company needs to secure access to its S3 buckets based on job roles. Which approach should they take?

  • A Use Bucket Policies alone
  • B Use IAM Roles and Policies
  • C Use Security Groups
  • D Use Object ACLs
Explanation IAM Roles along with Policies offer fine-grained access control based on job roles, unlike other options.
Q63

What happens when a Lambda function hits its maximum execution timeout?

  • A Execution completes normally
  • B An error is logged as a failure
  • C Lambda automatically retries the function
  • D Function continues running indefinitely
Explanation When the timeout is reached, execution fails and logs an error, while no automatic retries occur for this specific case.
Q64

Which service is ideal for deploying and managing containers?

  • A Amazon ECS
  • B AWS Lambda
  • C AWS Batch
  • D Amazon S3
Explanation Amazon ECS is specifically designed for container orchestration, while the others serve different functions.
Q65

You are configuring a CloudFormation stack. What happens if a resource fails to create?

  • A Stack rolls back to previous state
  • B Resource remains partially created
  • C Stack continues with next resources
  • D CloudFormation ignores the error
Explanation When a resource creation fails, CloudFormation rolls back the entire stack to ensure consistency.
Q66

A company needs to grant temporary access to an external partner to Amazon S3. What is the best approach?

  • A Create an IAM role with a policy
  • B Use pre-signed URLs
  • C Share the access key directly
  • D Create a new IAM user in AWS
Explanation Using pre-signed URLs allows secure temporary access to specific S3 objects without sharing credentials.
Q67

Which service is best for batch processing workloads?

  • A AWS Batch
  • B Amazon EC2
  • C AWS Lambda
  • D Amazon S3
Explanation AWS Batch efficiently manages batch processing, while the others serve different purposes.
Q68

A company needs to store secrets securely. Which service should they use?

  • A AWS Secrets Manager
  • B Amazon S3
  • C AWS Config
  • D AWS Lambda
Explanation AWS Secrets Manager is designed for secure secret storage, while the others do not specialize in that.
Q69

What happens when an EC2 instance is stopped and then restarted?

  • A Public IP changes
  • B EBS data lost
  • C Instance type changes
  • D Elastic IP assigned
Explanation A stopped EC2 instance will lose its public IP unless an Elastic IP is assigned, while EBS data remains intact.
Q70

Which service offers serverless computing on AWS?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D AWS ECS
Explanation AWS Lambda allows execution of code without provisioning servers, while EC2 and ECS require server management and S3 is for storage.