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
Start Mock Test Timed · Full-length · Scored

Questions 141–150 of 492

Q141

What happens when an AWS Lambda function times out?

  • A The function automatically retries.
  • B An error is logged and execution stops.
  • C Function returns partial results.
  • D Execution resumes the next invocation.
Explanation When a Lambda function times out, execution stops and logs an error, while other options imply unintended behavior.
Q142

Which service is best for serverless architectures?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS CloudFormation
Explanation AWS Lambda is designed specifically for serverless computations, while the others are not.
Q143

What happens when an Amazon S3 bucket policy denies access?

  • A Access is permanently revoked
  • B Access can still be overridden
  • C Access is granted if user is admin
  • D Access is denied regardless of permissions
Explanation A deny in a bucket policy always overrides permissions.
Q144

A company needs to ensure its Lambda function is triggered only after a specific S3 object is fully uploaded. Which S3 event type should it use?

  • A s3:ObjectCreated:CompleteMultipartUpload
  • B s3:ObjectCreated:Put
  • C s3:ObjectRemove:Delete
  • D s3:ObjectRestore:Post
Explanation The complete multipart upload event indicates the file is fully uploaded.
Q145

Which service provides event-driven architecture for AWS Lambda functions?

  • A Amazon EventBridge
  • B Amazon SQS
  • C AWS Step Functions
  • D Amazon SNS
Explanation Amazon EventBridge is designed for event-driven architectures, while the other options serve different communication or orchestration functions.
Q146

A company needs to grant temporary access to a third-party contractor to an S3 bucket. What should be used?

  • A IAM user
  • B IAM role
  • C Bucket policy
  • D Access key
Explanation An IAM role provides temporary credentials for external entities, unlike users or access keys that are long-term.
Q147

What happens when you configure a DynamoDB table with provisioned capacity that is exceeded?

  • A Requests are throttled
  • B Data is lost
  • C DynamoDB scales automatically
  • D CPU usage increases dramatically
Explanation Exceeding provisioned capacity throttles requests rather than scaling or losing data.
Q148

Which AWS service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS CodeDeploy
Explanation AWS Lambda enables serverless execution of code, unlike EC2 which requires server provisioning.
Q149

A company needs to automatically scale its applications based on traffic. Which service should they consider using?

  • A AWS Auto Scaling
  • B Amazon CloudFront
  • C AWS Direct Connect
  • D Amazon SES
Explanation AWS Auto Scaling dynamically adjusts resources based on demand, while the other services do not perform automatic scaling.
Q150

What happens when you try to access S3 bucket files without proper IAM permissions?

  • A Access denied error
  • B Files become public
  • C Files are deleted
  • D Access is granted automatically
Explanation Without proper IAM permissions, you encounter an access denied error; the other options do not accurately reflect IAM behavior.