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.
Explanation
When an EC2 instance is terminated, its associated public IP is released, but data can be retained if using EBS volumes with the right settings.
Q322
A company needs a cost-effective solution for developing mobile applications. Which AWS service is most appropriate?
AAWS Amplify
BAWS Lambda
CAmazon EC2
DAmazon S3
Explanation
AWS Amplify specifically is designed for mobile application development, while the others serve different purposes.
Q323
What happens when you enable versioning on an S3 bucket?
AAll objects are encrypted
BYou can retrieve previous object versions
CBucket size is limited
DAll deleted objects are permanently lost
Explanation
Enabling versioning allows retrieval of all object versions, while the other options are inaccurate regarding versioning behavior.
Q324
You are configuring an IAM role for an EC2 instance to access DynamoDB. Which component must you attach to the instance?
AEBS Volume
BIAM Policy
CNetwork ACL
DIAM Role
Explanation
You must attach an IAM Role to grant EC2 permissions while the other options do not provide access control for this scenario.
Q325
Which AWS service allows you to deploy serverless applications?
AAWS Lambda
BAmazon EC2
CAWS Fargate
DAmazon VPC
Explanation
AWS Lambda is specifically designed for serverless applications, while EC2 and Fargate provide servers and VPC is a networking service.
Q326
A company needs to automate the deployment of its applications using Infrastructure as Code. Which AWS service should they use?
AAWS CloudFormation
BAWS CodePipeline
CAWS OpsWorks
DAWS Elastic Beanstalk
Explanation
AWS CloudFormation implements Infrastructure as Code for automating resource management, whereas others support CI/CD or app deployment.
Q327
What happens when an IAM user tries to access a resource they do not have permissions for?
AAccess is granted
BAccess is denied
CAccess is requested
DAccess is logged
Explanation
Access is denied if permissions are not granted, while logging is a separate operation done by services.
Q328
Which AWS service provides managed Kubernetes?
AAmazon EKS
BAWS Fargate
CAmazon ECS
DAWS Step Functions
Explanation
Amazon EKS specifically provides managed Kubernetes, while the others serve different orchestration and computing purposes.
Q329
A company needs to securely share files within a team using AWS. Which service should they use?
AAmazon RDS
BAmazon EFS
CAmazon S3
DAWS Lambda
Explanation
Amazon EFS is designed for sharing files across instances securely, unlike the others which handle different types of data or services.
Q330
What happens when you configure an IAM role with 'sts:AssumeRole' permission for multiple users?
AOnly the first user can assume it.
BAll users can assume the role.
CNo user can assume it.
DOnly admins can use the role.
Explanation
All users with the permission can assume the role simultaneously, enabling shared access.