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.
Which service aids in building event-driven applications?
AAmazon SQS
BAWS Lambda
CAmazon RDS
DAWS IAM
Explanation
AWS Lambda enables you to run code in response to events, while SQS and RDS are for message queuing and database management, respectively, and IAM handles permissions.
Q32
A company needs to automatically scale its EC2 instances based on demand. Which service should they use?
AAmazon RDS
BAuto Scaling
CAWS Load Balancer
DAWS Config
Explanation
Auto Scaling automatically adjusts the number of EC2 instances based on the demand, unlike RDS, Load Balancer, and Config which serve different purposes.
Q33
What happens when you set an S3 bucket policy to deny access to all users?
AEveryone can still access it
BOnly root account can access
CAccess is restricted to specified users
DNo user can access it
Explanation
Denying access to all users effectively blocks all access to the bucket, while the other options do not accurately describe the policy’s impact.
Q34
You are configuring a Lambda function. Which IAM role should you assign?
ALambda execution role
BS3 access role
CVPC access role
DEC2 instance role
Explanation
The Lambda execution role allows the function to access AWS resources as needed.
Q35
What happens when you declare a resource in a CloudFormation template?
AResource is created immediately
BCloudFormation waits indefinitely
CResource is created on stack creation
DResource is only created if updated
Explanation
Resources are provisioned when the stack is created or updated.
Q36
A company needs to secure its S3 bucket. Which option is mandatory?
AEnable versioning
BSet bucket policy
CEnable MFA Delete
DSet lifecycle rules
Explanation
Setting a bucket policy is essential for access control in S3.
Q37
What happens when an instance type doesn't support EBS optimization?
APerformance remains unaffected.
BEBS volumes become unreadable.
CNetwork performance may be reduced.
DInstance cannot be launched.
Explanation
Without EBS optimization, there may be reduced network performance due to shared bandwidth.
Q38
You are configuring RDS for MySQL with Multi-AZ deployments. What is a key benefit?
AImproved performance for reads.
BAutomatic backups are enabled.
CHigh availability with failover.
DIncreased storage capacity.
Explanation
Multi-AZ provides high availability with automatic failover to the standby instance.
Q39
A company needs to automatically scale its serverless application based on demand. Which service should they use?
AEC2 Auto Scaling.
BAWS Lambda.
CAWS Batch.
DEC2 Spot Instances.
Explanation
AWS Lambda automatically scales based on the number of requests or events.
Q40
Which AWS service is used to create serverless applications?
AAWS Lambda
BAWS Elastic Beanstalk
CAmazon EC2
DAmazon RDS
Explanation
AWS Lambda allows you to run code without provisioning servers; the others require servers or instances.