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
AWS Lambda is specifically designed for serverless computing; the others are not.
Q482
A company needs to store large amounts of binary data. Which storage service should they use?
AAmazon EFS
BAmazon S3
CAmazon Redshift
DAmazon Glacier
Explanation
Amazon S3 is ideal for storing large amounts of binary data; the others serve different purposes.
Q483
You are configuring IAM roles for an EC2 instance. What must you ensure for the instance to assume the role?
ARole permissions are public
BThe instance has an attached IAM policy
CThe instance is launched in a VPC
DThe IAM role is associated with the instance
Explanation
The IAM role must be explicitly associated with the instance; the other options are not necessary.
Q484
Which service allows you to run code without provisioning servers?
AAWS Lambda
BAmazon EC2
CAWS Batch
DAWS CloudFormation
Explanation
AWS Lambda enables serverless execution of code, while others require server management.
Q485
A company needs to integrate IAM roles with an EC2 instance. What must be done first?
AAdd an IAM policy to S3
BCreate or select an IAM role
CReboot the EC2 instance
DAllocate an Elastic IP to EC2
Explanation
You need to create or select a role before associating it with an EC2 instance.
Q486
What happens when you use S3 lifecycle policies to delete 1000 objects at once?
AImmediate deletion of all objects
BObjects are queued for deletion
CDeletion may take several days
DOnly one object is deleted
Explanation
S3 lifecycle policies will queue objects for deletion rather than immediate action.
Q487
Which service allows data streaming from IoT devices to AWS?
AAWS IoT Core
BAWS S3
CAWS Lambda
DAWS CloudFront
Explanation
AWS IoT Core specifically facilitates device connectivity and data streaming, while the other services do not focus on IoT.
Q488
A company needs to ensure its AWS Lambda function can access an encrypted RDS database. What is the recommended approach?
AUse IAM roles with encryption key permissions
BUsing a public subnet for Lambda
CAccess via VPC Peering
DStore encryption keys in environment variables
Explanation
Using IAM roles allows your Lambda function necessary permissions to access the encryption keys securely.
Q489
You are configuring an S3 bucket to host a static website. What must be enabled on the bucket for it to serve public content?
ABucket Versioning
BPublic Access Block
CBucket Policy allowing public access
DCross-Region Replication
Explanation
A bucket policy that allows public access is essential for serving content publicly; the other options do not address public access requirements.
Q490
Which service is used to run Docker containers on AWS?
AAmazon EC2
BAWS Lambda
CAmazon ECS
DAmazon S3
Explanation
Amazon ECS is specifically designed for Docker containers, while the others serve different purposes.