Amazon AWS
AWS Certified Developer – Associate
DVA-C02
Popular
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.
492 questions
0 views
Free
Questions 411–420 of 492
A company needs to retain compliance logs for 6 months. What happens if they set an S3 Lifecycle Policy to delete logs after 3 months?
A
They retain logs for 3 months
B
Logs will be preserved indefinitely
C
Logs will be kept for 6 months
D
Lifecycle policy cannot delete logs
Reveal Answer
Explanation
The policy deletes logs after 3 months; other options suggest incorrect retention behavior.
Which service is best for handling real-time data streams?
A
AWS IoT Core
B
Amazon Kinesis
C
AWS Lambda
D
Amazon SQS
Reveal Answer
Explanation
Amazon Kinesis is designed specifically for real-time data processing, unlike others.
A company needs a backup solution for their S3 data. What should they implement?
A
S3 Transfer Acceleration
B
S3 Intelligent-Tiering
C
S3 Cross-Region Replication
D
S3 Lifecycle Policies
Reveal Answer
Explanation
S3 Cross-Region Replication automatically backs up data in another region.
You are configuring an EC2 instance. What happens when you stop and then start the instance?
A
Loss of the instance's public IP
B
Data in ephemeral storage is preserved
C
Instance type cannot be changed
D
Volume size is reduced
Reveal Answer
Explanation
Stopping an EC2 instance releases the public IP, while data in ephemeral storage is lost.
Which AWS service is ideal for building serverless applications?
A
AWS Lambda
B
Amazon EC2
C
Amazon RDS
D
Amazon S3
Reveal Answer
Explanation
AWS Lambda allows running code without provisioning servers, while EC2, RDS, and S3 are not serverless solutions.
A company needs to recreate lost data and minimize downtime; which Amazon service will help?
A
Amazon Glacier
B
Amazon RDS Read Replicas
C
Amazon S3 Versioning
D
AWS Direct Connect
Reveal Answer
Explanation
Amazon S3 Versioning keeps multiple versions of an object, aiding in data recovery and minimizing downtime, unlike the other options.
You are configuring IAM policies; which policy type allows precise control over resources?
A
Identity Policy
B
Resource Policy
C
Inline Policy
D
Service Control Policy
Reveal Answer
Explanation
Resource Policies allow fine-grained control over access to specific resources, while the others provide broader or different controls.
Which AWS service provides a serverless compute environment?
A
AWS Lambda
B
Amazon EC2
C
Amazon RDS
D
Amazon S3
Reveal Answer
Explanation
AWS Lambda allows you to run code without provisioning servers, while the other options require server management.
A company needs to grant temporary access to their S3 bucket. What should they use?
A
IAM users
B
Bucket policy
C
IAM roles
D
Public access
Reveal Answer
Explanation
IAM roles are ideal for granting temporary access, unlike users which are permanent.
What happens when an instance is stopped in an EC2 auto-scaling group?
A
Instance is terminated
B
Instance is restarted
C
Scaling adjusts automatically
D
Instance state is preserved
Reveal Answer
Explanation
The auto-scaling group will launch a new instance to maintain the desired capacity after stopping an instance.