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 allows you to run containerized applications at scale?
AAmazon ECS
BAWS Lambda
CAmazon S3
DAWS Batch
Explanation
Amazon ECS is specifically designed for container orchestration, while others serve different purposes.
Q182
A company needs to analyze streaming data in real-time. Which service should they use?
AAmazon RDS
BAWS Glue
CAmazon Kinesis
DAmazon SQS
Explanation
Amazon Kinesis is optimized for real-time data processing, unlike the other services.
Q183
You are configuring an IAM role for accessing S3. What should you ensure?
APolicy attached to user only
BRole has EC2 instance permissions
CPolicy allows specific actions on S3
DRole must be in same region
Explanation
The policy must grant the necessary S3 permissions for access, while others are irrelevant or incorrect.
Q184
Which AWS service allows you to run code without provisioning servers?
AAWS Lambda
BEC2
CECS
DAWS CodePipeline
Explanation
AWS Lambda is specifically designed for serverless computing, while the others require server management.
Q185
A company needs to store large amounts of unstructured data. Which service should they use?
AAmazon RDS
BAWS S3
CAWS DynamoDB
DAmazon Redshift
Explanation
AWS S3 is optimized for large unstructured data storage, whereas the others are more suitable for structured data.
Q186
What happens when an EC2 instance is terminated?
AData on EBS is lost
BPublic IP is retained
CInstance state is paused
DBilling stops immediately
Explanation
Data on EBS volumes is only retained if they are marked as 'persistent'; the public IP is released, instance is not paused, and billing does not immediately stop.
Q187
Which service allows you to run code without provisioning servers?
AAWS Lambda
BEC2 Instances
CS3 Storage
DElastic Beanstalk
Explanation
AWS Lambda executes code without server management; EC2 requires server provisioning, S3 is for storage, and Elastic Beanstalk is for web app deployment.
Q188
A company needs to ensure that its S3 bucket content is not publicly accessible. What should they do?
AEnable bucket policy restrict public access
BSet ACL to public-read
CRemove all objects and re-upload
DEnable versioning on the bucket
Explanation
Setting a bucket policy to restrict public access ensures no unauthorized access; public-read ACL contradicts this, while the other options are irrelevant.
Q189
You are configuring IAM roles for an Amazon ECS task. What happens if the task tries to access an S3 bucket without permissions?
AAccess granted automatically
BAccess denied for the task
CIAM roles are applied retroactively
DTask will have limited access
Explanation
Without proper permissions, access is denied; automatic access granting does not occur, roles cannot apply retroactively, and limited access isn't an option.
Q190
Which service would you use for building event-driven applications?
AAmazon SNS
BAWS Elastic Beanstalk
CAmazon CloudWatch
DAmazon RDS
Explanation
Amazon SNS is designed for event-driven applications; the others do not fit this purpose.