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
Amazon Kinesis specializes in streaming data; S3 is for storage, Lambda for serverless functions, and RDS is for relational databases.
Q2
A company needs to integrate APIs and monitor usage. Which AWS service should they use?
AAWS CodePipeline
BAmazon API Gateway
CAWS CloudFormation
DAmazon S3
Explanation
Amazon API Gateway facilitates API management and monitoring, while CodePipeline is for CI/CD and CloudFormation is for infrastructure as code.
Q3
You are configuring IAM roles for an EC2 instance. What happens if the instance does not have an attached IAM role?
AIt cannot access AWS services.
BIt will use default credentials.
CIt will only access public resources.
DIt will auto-assign an IAM role.
Explanation
Without an IAM role, the instance cannot authenticate to AWS services; it cannot use default credentials, access is limited to public, and it won't auto-assign a role.
Q4
Which AWS service is mainly used for real-time data processing?
AAWS Lambda
BAmazon S3
CAmazon Athena
DAmazon EMR
Explanation
Amazon EMR is designed for big data processing, while Lambda is for serverless computing and S3 is for storage.
Q5
A company needs to automatically scale its EC2 instances based on CPU usage. Which AWS feature should they use?
AAuto Scaling Groups
BElastic Load Balancer
CCloudWatch Metrics
DCost Explorer
Explanation
Auto Scaling Groups manage instances based on demand, unlike the other options.
Q6
You are configuring AWS IAM roles for a new application. What happens when the application assumes the role with limited permissions?
AIt gains full AWS access
BIt gains only specified permissions
CIt cannot function at all
DIt inherits permissions from users
Explanation
Assuming a role provides only the permissions granted to that role, so it won't have more access than specified.
Q7
Which service is used for monitoring AWS resources?
AAWS CloudWatch
BAWS IAM
CAWS S3
DAWS VPC
Explanation
AWS CloudWatch monitors resources; others serve different functions.
Q8
A company needs to ensure that their EC2 instances automatically scale based on demand. Which AWS service should they use?
AAmazon SNS
BAWS Lambda
CAmazon EC2 Auto Scaling
DAmazon CloudFront
Explanation
EC2 Auto Scaling adjusts instance count; others do not manage instance scaling.
Q9
What happens when an IAM user has policies that contradict each other?
ADeny takes precedence over allow.
BAllow takes precedence over deny.
CPolicies are processed in random order.
DNo effect on the user’s permissions.
Explanation
Deny always takes precedence; allow can't override it.
Q10
Which service enables you to automate application deployment?
AAWS CloudFormation
BAWS EC2
CAWS Lambda
DAWS S3
Explanation
AWS CloudFormation allows for automated deployment of infrastructure as code, while the others serve different purposes.