Amazon AWS Certified Developer - Associate DVA-C01
Prev

There are 237 results

Next
#121 (Accuracy: 100% / 4 votes)
A developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.

What is the reason that no filtered results are being returned?
  • A. A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC.
  • B. CloudWatch Logs only publishes metric data for events that happen after the filter is created.
  • C. The log group for CloudWatch Logs should be first streamed to Amazon OpenSearch Service before metric filtering returns the results.
  • D. Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket.
#122 (Accuracy: 100% / 3 votes)
A current architecture uses many Lambda functions invoking one another as a large state machine. The coordination of this state machine is legacy custom code that breaks easily.

Which AWS Service can help refactor and manage the state machine?
  • A. AWS Data Pipeline
  • B. AWS SNS with AWS SOS
  • C. Amazon Elastic MapReduce
  • D. AWS Step Functions
#123 (Accuracy: 100% / 5 votes)
A developer is using AWS CodeDeploy to automate a company's application deployments to Amazon EC2.

Which application specification file properties are required to ensure the software deployments do not fail? (Choose two.)
  • A. The file must be a JSON-formatted file named appspec.json.
  • B. The file must be a YAML-formatted file named appspec.yml.
  • C. The file must be stored in AWS CodeBuild and referenced from the application's source code.
  • D. The file must be placed in the root of the directory structure of the application's source code.
  • E. The file must be stored in Amazon S3 and referenced from the application's source code.
#124 (Accuracy: 95% / 11 votes)
An ecommerce application is running behind an Application Load Balancer. A developer observes some unexpected load on the application during non-peak hours. The developer wants to analyze patterns for the client IP addresses that use the application.
Which HTTP header should the developer use for this analysis?
  • A. The X-Forwarded-Proto header
  • B. The X-Forwarded-Host header
  • C. The X-Forwarded-For header
  • D. The X-Forwarded-Port header
#125 (Accuracy: 100% / 5 votes)
A company is planning to use AWS CodeDeploy to deploy an application to AWS Lambda. During the deployment of a new version of the application, the company initially must expose only 10% of live traffic to the new version of the deployed application. Then, every 10 minutes, the company must route another
10% of live traffic to the new version of the deployed application until all live traffic is routed to the new version.

Which CodeDeploy predefined configuration will meet these requirements?
  • A. CodeDeployDefault.OnceAtATime
  • B. CodeDeployDefault.LambdaCanary10Percent10Minutes
  • C. CodeDeployDefault.LambdaLinear10PercentEvery10Minutes
  • D. CodeDeployDefault.ECSLinear10PercentEvery3Minutes
#126 (Accuracy: 100% / 3 votes)
A developer has created a REST API using Amazon API Gateway. The developer wants to log who and how each caller accesses the API. The developer also wants to control how long the logs are kept.

What should the developer do to meet these requirements?
  • A. Enable API Gateway execution logging. Delete old logs using API Gateway retention settings.
  • B. Enable API Gateway access logs. Use Amazon CloudWatch retention settings to delete old logs.
  • C. Enable detailed Amazon CloudWatch metrics. Delete old logs with a recurring AWS Lambda function.
  • D. Create and use API Gateway usage plans. Delete old logs with a recurring AWS Lambda function.
#127 (Accuracy: 100% / 4 votes)
A developer is building a three-tier web application that should be able to handle a minimum of 5000 requests per minute. Requirements state that the web tier should be completely stateless while the application maintains session state for the users.

How can session data be externalized, keeping latency at the LOWEST possible value?
  • A. Create an Amazon RDS instance, then implement session handling at the application level to leverage a database inside the RDS database instance for session data storage.
  • B. Implement a shared file system solution across the underlying Amazon EC2 instances, then implement session handling at the application level to leverage the shared file system for session data storage.
  • C. Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage.
  • D. Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage.
#128 (Accuracy: 100% / 4 votes)
A developer has built an application running on AWS Lambda using AWS Serverless Application Model (AWS SAM).

What is the correct sequence of steps to successfully deploy the application?
  • A. 1. Build the SAM template in Amazon EC2.
    2. Package the SAM template to Amazon EBS storage.
    3. Deploy the SAM template from Amazon EBS.
  • B. 1. Build the SAM template locally.
    2. Package the SAM template onto Amazon S3.
    3. Deploy the SAM template from Amazon S3.
  • C. 1. Build the SAM template locally.
    2. Deploy the SAM template from Amazon S3.
    3. Package the SAM template for use.
  • D. 1. Build the SAM template locally.
    2. Package the SAM template from AWS CodeCommit.
    3. Deploy the SAM template to CodeCommit.
#129 (Accuracy: 100% / 5 votes)
A research company has a website that is used once each day to perform scientific calculations based on inputs that are submitted through a webpage. The calculations are CPU intensive. An AWS Lambda function performs the calculations once each day. Users occasionally receive errors because of Lambda function timeouts.

Which change will reduce the Lambda function's runtime duration?
  • A. Configure Lambda to run the function on an Amazon EC2 burstable instance type.
  • B. Configure Lambda to run the function on an Amazon EC2 instance type that is recommended for high performance computing (HPC) workloads.
  • C. Configure Lambda to run the function with a larger reserved concurrency value.
  • D. Configure Lambda to run the function with a larger memory value.
#130 (Accuracy: 90% / 8 votes)
A developer has created on AWS Lambda function tool uses 15 MB of memory. When the developer runs the code natively on a laptop that has 4 cores, the function runs within 100 ms. When the developer deploys the code as a Lambda function with 128 MB of memory, the first run takes 3 seconds. Subsequent runs take more than 500 ms to finish.
The developer needs to improve the performance of the Lambda function so that the function runs consistently in less than 100 ms, excluding the initial startup time.

Which solution will meet this requirement?
  • A. Increase the reserved concurrency of the Lambda function.
  • B. Increase the provisioned concurrency of the Lambda function.
  • C. Increase the memory of the Lambda function.
  • D. Repackage the Lambda function as a container. Redeploy the function.