Amazon AWS Certified Developer - Associate DVA-C01
Prev

There are 237 results

Next
#161 (Accuracy: 100% / 4 votes)
A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.

Which action can help the company achieve this goal?
  • A. Enable API caching in API Gateway.
  • B. Configure API Gateway to use an interface VPC endpoint
  • C. Enable cross-origin resource sharing (CORS) for the APIs.
  • D. Configure usage plans and API keys in API Gateway.
#162 (Accuracy: 100% / 4 votes)
A developer is creating an application that will give users the ability to store photos from their cellphones in the cloud. The application needs to support tens of thousands of users. The application uses an Amazon API Gateway REST API that is integrated with AWS Lambda functions to process the photos. The application stores details about the photos in Amazon DynamoDB.

Users need to create an account to access the application.
In the application, users must be able to upload photos and retrieve previously uploaded photos. The photos will range in size from 300 KB to 5 MB.

Which solution will meet these requirements with the LEAST operational overhead?
  • A. Use Amazon Cognito user pools to manage user accounts. Create an Amazon Cognito user pool authorizer in API Gateway to control access to the API. Use the Lambda function to store the photos and details in the DynamoDB table. Retrieve previously uploaded photos directly from the DynamoDB table.
  • B. Use Amazon Cognito user pools to manage user accounts. Create an Amazon Cognito user pool authorizer in API Gateway to control access to the API. Use the Lambda function to store the photos in Amazon S3. Store the object's S3 key as part of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.
  • C. Create an IAM user for each user of the application during the sign-up process. Use IAM authentication to access the API Gateway API. Use the Lambda function to store the photos in Amazon S3. Store the object's S3 key as part of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.
  • D. Create a user’s table in DynamoDB. Use the table to manage user accounts. Create a Lambda authorizer that validates user credentials against the users table. Integrate the Lambda authorizer with API Gateway to control access to the API. Use the Lambda function to store the photos in Amazon S3. Store the object's S3 key as part of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.
#163 (Accuracy: 93% / 5 votes)
A company is migrating legacy internal applications to AWS. Leadership wants to rewrite the internal employee directory to use native AWS services A developer needs to create a solution for storing employee contact details and high-resolution photos for use with the new application.

Which solution will enable the search and retrieval of each employee's individual details and high-resolution photos using AWS APIs?
  • A. Encode each employee s contact information and photos using Base64 Store the information in an Amazon DynamoDB table using a sort key.
  • B. Store each employee's contact information in an Amazon DynamoDB table along with the object keys for the photos stored in Amazon S3.
  • C. Use Amazon Cognito user pools to implement the employee directory in a fully managed software-as-a-service (SaaS) method.
  • D. Store employee contact information in an Amazon RDS DB instance with the photos stored in Amazon Elastic File System (Amazon EFS).
#164 (Accuracy: 100% / 3 votes)
A developer must extend an existing application that is based on the AWS Serverless Application Model (AWS SAM). The developer has used the AWS SAM CLI to create the project. The project contains different AWS Lambda functions.
Which combination of commands must the developer use to redeploy the AWS SAM application? (Choose two.)
  • A. sam init
  • B. sam validate
  • C. sam build
  • D. sam deploy
  • E. sam publish
#165 (Accuracy: 100% / 5 votes)
A company is migrating its on-premises database to Amazon RDS for MySQL. The company has read-heavy workloads, and wants to make sure it re-factors its code to achieve optimum read performance for its queries.
How can this objective be met?
  • A. Add database retries to effectively use RDS with vertical scaling.
  • B. Use RDS with multi-AZ deployment.
  • C. Add a connection string to use an RDS read replica for read queries.
  • D. Add a connection string to use a read replica on an EC2 instance.
#166 (Accuracy: 100% / 3 votes)
A developer has an application that can upload tens of thousands of objects per second to Amazon S3 in parallel within a single AWS account. As part of new requirements, data stored in S3 must use server-side encryption with AWS KMS keys (SSE-KMS). After creating this change, performance of the application is slower.

Which of the following is MOST likely the cause of the application latency?
  • A. Amazon S3 throttles the rate at which uploaded objects can be encrypted using KMS keys.
  • B. The AWS KMS API calls limit is less than needed to achieve the desired performance.
  • C. The client encryption of the objects is using a poor algorithm.
  • D. KMS requires that an alias be used to create an independent display name that can be mapped to a KMS key.
#167 (Accuracy: 100% / 3 votes)
A company runs an application on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group. The company has configured the Amazon CloudWatch agent to capture custom metrics within the instances. When the company launches new instances, the agent starts successfully, but it does not deliver any custom metrics to CloudWatch.

Which action will deliver the custom metrics to CloudWatch?
  • A. Ensure that the CloudWatch agent JSON configuration file has an IAM policy that has the CloudWatch:PutMetricLogs permission attached.
  • B. Ensure that the role used in the EC2 Auto Scaling launch template has the CloudWatchAgentServerPolicy IAM policy attached.
  • C. Attach the CloudWatchAgentServerPolicy IAM policy directly to the EC2 Auto Scaling launch template in the AWS Management Console.
  • D. Attach a JSON script with the CloudWatch:PutMetricLogs permission to the EC2 Auto Scaling launch template in the AVVS Management Console.
#168 (Accuracy: 100% / 3 votes)
An application development team decides to use AWS X-Ray to monitor application code to analyze performance and perform root cause analysis.

What does the team need to do to begin using X-Ray? (Choose two.)
  • A. Log instrumentation output into an Amazon SQS queue.
  • B. Use a visualization tool to view application traces.
  • C. Instrument application code using the AWS SDK.
  • D. Install the X-Ray agent on the application servers.
  • E. Create an Amazon DynamoDB table to store the trace logs.
#169 (Accuracy: 100% / 4 votes)
A company built an online event platform. For each event, the company organizes quizzes and generates leaderboards that are based on the quiz scores. The company stores the leaderboard data in Amazon DynamoDB and retains the data for 30 days after an event is complete. The company then uses a scheduled job to delete the old leaderboard data

The DynamoDB table is configured with a fixed write capacity.
During the months when many events occur, the DynamoDB write API requests are throttled when the scheduled delete job runs.

A developer must create a long-term solution that deletes the old leaderboard data and optimizes write throughput.


Which solution meets these requirements?
  • A. Configure a TTL attribute for the leaderboard data.
  • B. Use DynamoDB Streams to schedule and delete the leaderboard data
  • C. Use AWS Step Functions to schedule and delete the leaderboard data.
  • D. Set a higher write capacity when the scheduled delete job runs.
#170 (Accuracy: 100% / 4 votes)
A company is planning to use AWS CodeDeploy to deploy an application to Amazon Elastic Container Service (Amazon ECS). 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, after 15 minutes elapse, the company must route all the remaining live traffic to the new version of the deployed application.
Which CodeDeploy predefined configuration will meet these requirements?
  • A. CodeDeployDefault.ECSCanary10Percent15Minutes
  • B. CodeDeployDefault.LambdaCanary10Percent5Minutes
  • C. CodeDeployDefault.LambdaCanary10Percent15Minutes
  • D. CodeDeployDefault.ECSLinear10PercentEvery1 Minutes