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.
A company needs to process data streams in real-time. Which AWS service is best suited for this purpose?
AAmazon Kinesis
BAWS Snowball
CAmazon S3
DAWS Backup
Explanation
Amazon Kinesis is designed for real-time data streaming, while the other options focus on different data processing or storage methods.
Q332
What happens when you assign an IAM role to an EC2 instance?
AAccess to S3 is revoked
BInstance gains AWS service permissions
CInstance becomes a public endpoint
DRole applied to all users
Explanation
Assigning an IAM role allows the EC2 instance to automatically gain specified permissions to access AWS services, unlike the other options which are incorrect.
Q333
You are configuring an AWS Lambda function with VPC access. What must you ensure?
ASubnet has Internet Gateway
BLambda has a public IP address
CSubnets are private and have NAT
DRole has EC2 permissions
Explanation
For Lambda to access resources outside a VPC while in private subnets, a NAT gateway is required; the other options do not ensure proper access configuration.
Q334
Which service automates server configuration management?
AAWS CloudFormation
BAWS Lambda
CAWS EC2
DAWS S3
Explanation
AWS CloudFormation automates resource management; the others do not focus on configuration management.
Q335
A company needs to deploy a new application with minimum downtime. What should they use?
ARoute 53 failover routing
BElastic Load Balancing
CCloudFront distribution
DAWS Shield
Explanation
Elastic Load Balancing distributes traffic effectively to minimize downtime; the others do not directly ensure uptime during deployment.
Q336
What happens when a security group rule is changed?
AChanges take effect immediately
BNew rules are applied after reboot
CRules require regional replication
DInstances must be recreated for changes
Explanation
Security group rule changes are applied immediately without requiring reboots or deployments; the other options imply unnecessary delays or actions.
Q337
Which service automatically scales resources for applications?
AAmazon EC2 Auto Scaling
BAmazon Simple Storage Service
CAmazon CloudFront
DAWS Config
Explanation
Amazon EC2 Auto Scaling dynamically adjusts resources based on demand; the others do not provide scaling capabilities.
Q338
A company needs a highly durable storage for backups at minimal cost. Which service should they choose?
AAmazon S3 Standard
BAmazon Glacier
CAmazon EFS
DAmazon FSx
Explanation
Amazon Glacier is designed for low-cost archival storage; S3 Standard and EFS have higher costs for durable and immediate access.
Q339
What happens when you delete an IAM user's access key?
AKey can be retrieved later
BUser loses all access
CKey is permanently deleted
DAccess key is disabled only
Explanation
Deleting an IAM access key permanently removes it; the other options describe incorrect scenarios regarding access or key state.
Q340
Which service is used for AWS Lambda deployments?
AAWS CodeDeploy
BAWS CloudFormation
CAWS CodePipeline
DAWS CodeBuild
Explanation
AWS CodePipeline automates the deployment of Lambda functions, while others serve different purposes.