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 61–70 of 492
Which service is used for serverless computing?
A
AWS Lambda
B
Amazon EC2
C
Amazon RDS
D
AWS CloudFormation
Reveal Answer
Explanation
AWS Lambda allows for serverless function execution, while others are not serverless solutions.
A company needs to secure access to its S3 buckets based on job roles. Which approach should they take?
A
Use Bucket Policies alone
B
Use IAM Roles and Policies
C
Use Security Groups
D
Use Object ACLs
Reveal Answer
Explanation
IAM Roles along with Policies offer fine-grained access control based on job roles, unlike other options.
What happens when a Lambda function hits its maximum execution timeout?
A
Execution completes normally
B
An error is logged as a failure
C
Lambda automatically retries the function
D
Function continues running indefinitely
Reveal Answer
Explanation
When the timeout is reached, execution fails and logs an error, while no automatic retries occur for this specific case.
Which service is ideal for deploying and managing containers?
A
Amazon ECS
B
AWS Lambda
C
AWS Batch
D
Amazon S3
Reveal Answer
Explanation
Amazon ECS is specifically designed for container orchestration, while the others serve different functions.
You are configuring a CloudFormation stack. What happens if a resource fails to create?
A
Stack rolls back to previous state
B
Resource remains partially created
C
Stack continues with next resources
D
CloudFormation ignores the error
Reveal Answer
Explanation
When a resource creation fails, CloudFormation rolls back the entire stack to ensure consistency.
A company needs to grant temporary access to an external partner to Amazon S3. What is the best approach?
A
Create an IAM role with a policy
B
Use pre-signed URLs
C
Share the access key directly
D
Create a new IAM user in AWS
Reveal Answer
Explanation
Using pre-signed URLs allows secure temporary access to specific S3 objects without sharing credentials.
Which service is best for batch processing workloads?
A
AWS Batch
B
Amazon EC2
C
AWS Lambda
D
Amazon S3
Reveal Answer
Explanation
AWS Batch efficiently manages batch processing, while the others serve different purposes.
A company needs to store secrets securely. Which service should they use?
A
AWS Secrets Manager
B
Amazon S3
C
AWS Config
D
AWS Lambda
Reveal Answer
Explanation
AWS Secrets Manager is designed for secure secret storage, while the others do not specialize in that.
What happens when an EC2 instance is stopped and then restarted?
A
Public IP changes
B
EBS data lost
C
Instance type changes
D
Elastic IP assigned
Reveal Answer
Explanation
A stopped EC2 instance will lose its public IP unless an Elastic IP is assigned, while EBS data remains intact.
Which service offers serverless computing on AWS?
A
AWS Lambda
B
Amazon EC2
C
Amazon S3
D
AWS ECS
Reveal Answer
Explanation
AWS Lambda allows execution of code without provisioning servers, while EC2 and ECS require server management and S3 is for storage.