A company has a critical application on AWS. The application exposes an HTTP API by using Amazon API Gateway. The API is integrated with an AWS Lambda function. The application stores data in an Amazon RDS for MySQL DB instance with 2 virtual CPUs (vCPUs) and 64 GB of RAM.
Customers have reported that some of the API calls return HTTP 500 Internal Server Error responses. Amazon CloudWatch Logs shows errors for “too many connections.” The errors occur during peak usage times that are unpredictable.
The company needs to make the application resilient. The database cannot be down outside of scheduled maintenance hours.
Which solution will meet these requirements?

Test2

Quiz
•
Professional Development
•
University
•
Hard
Thảo Phương
FREE Resource
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Decrease the number of vCPUs for the DB instance. Increase the max_connections setting.
Use Amazon RDS Proxy to create a proxy that connects to the DB instance. Update the Lambda function to connect to the proxy.
Add a CloudWatch alarm that changes the DB instance class when the number of connections increases to more than 1,000.
Add an Amazon EventBridge rule that increases the max_connections setting of the DB instance when CPU utilization is above 75%.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A company has installed smart meters in all its customer locations. The smart meters measure power usage at 1-minute intervals and send the usage readings to a remote endpoint for collection. The company needs to create an endpoint that will receive the smart meter readings and store the readings in a database. The company wants to store the location ID and timestamp information.
The company wants to give its customers low-latency access to their current usage and historical usage on demand. The company expects demand to increase significantly. The solution must not impact performance or include downtime while scaling.
Which solution will meet these requirements MOST cost-effectively?
Store the smart meter readings in an Amazon RDS database. Create an index on the location ID and timestamp columns. Use the columns to filter on the customers' data.
Store the smart meter readings in an Amazon DynamoDB table. Create a composite key by using the location ID and timestamp columns. Use the columns to filter on the customers' data.
Store the smart meter readings in Amazon ElastiCache for Redis. Create a SortedSet key by using the location ID and timestamp columns. Use the columns to filter on the customers' data.
Store the smart meter readings in Amazon S3. Partition the data by using the location ID and timestamp columns. Use Amazon Athena to filter on the customers' data.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A company is building a serverless application that uses AWS Lambda functions. The company needs to create a set of test events to test Lambda functions in a development environment. The test events will be created once and then will be used by all the developers in an IAM developer group. The test events must be editable by any of the IAM users in the IAM developer group.
Which solution will meet these requirements?
Create and store the test events in Amazon S3 as JSON objects. Allow S3 bucket access to all IAM users.
Create the test events. Configure the event sharing settings to make the test events shareable.
Create and store the test events in Amazon DynamoDB. Allow access to DynamoDB by using IAM roles.
Create the test events. Configure the event sharing settings to make the test events private.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A developer is configuring an application's deployment environment in AWS CodePipeline. The application code is stored in a GitHub repository. The developer wants to ensure that the repository package's unit tests run in the new deployment environment. The developer has already set the pipeline's source provider to GitHub and has specified the repository and branch to use in the deployment.
Which combination of steps should the developer take next to meet these requirements with the LEAST overhead? (Choose two.)
Create an AWS CodeCommit project. Add the repository package's build and test commands to the project's buildspec.
Create an AWS CodeBuild project. Add the repository package's build and test commands to the project's buildspec.
Create an AWS CodeDeploy project. Add the repository package's build and test commands to the project's buildspec.
Add an action to the source stage. Specify the newly created project as the action provider. Specify the build artifact as the action's input artifact.
Add a new stage to the pipeline after the source stage. Add an action to the new stage. Specify the newly created project as the action provider. Specify the source artifact as the action's input artifact.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An engineer created an A/B test of a new feature on an Amazon CloudWatch Evidently project. The engineer configured two variations of the feature (Variation A and Variation B) for the test. The engineer wants to work exclusively with Variation A. The engineer needs to make updates so that Variation A is the only variation that appears when the engineer hits the application's endpoint.
Which solution will meet this requirement?
Add an override to the feature. Set the identifier of the override to the engineer's user ID. Set the variation to Variation A.
Add an override to the feature. Set the identifier of the override to Variation A. Set the variation to 100%.
Add an experiment to the project. Set the identifier of the experiment to Variation B. Set the variation to 0%.
Add an experiment to the project. Set the identifier of the experiment to the AWS account's account ISet the variation to Variation A.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is working on an existing application that uses Amazon DynamoDB as its data store. The DynamoDB table has the following attributes: partNumber (partition key), vendor (sort key), description, productFamily, and productType. When the developer analyzes the usage patterns, the developer notices that there are application modules that frequently look for a list of products based on the productFamily and productType attributes.
The developer wants to make changes to the application to improve performance of the query operations.
Which solution will meet these requirements?
Create a global secondary index (GSI) with productFamily as the partition key and productType as the sort key.
Create a local secondary index (LSI) with productFamily as the partition key and productType as the sort key.
Recreate the table. Add partNumber as the partition key and vendor as the sort key. During table creation, add a local secondary index (LSI) with productFamily as the partition key and productType as the sort key.
Update the queries to use Scan operations with productFamily as the partition key and productType as the sort key.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer creates a VPC named VPC-A that has public and private subnets. The developer also creates an Amazon RDS database inside the private subnet of VPC-A. To perform some queries, the developer creates an AWS Lambda function in the default VPC. The Lambda function has code to access the RDS database. When the Lambda function runs, an error message indicates that the function cannot connect to the RDS database.
How can the developer solve this problem?
Modify the RDS security group. Add a rule to allow traffic from all the ports from the VPC CIDR block.
Redeploy the Lambda function in the same subnet as the RDS instance. Ensure that the RDS security group allows traffic from the Lambda function.
Create a security group for the Lambda function. Add a new rule in the RDS security group to allow traffic from the new Lambda security group.
Create an IAM role. Attach a policy that allows access to the RDS database. Attach the role to the Lambda function.
Create a free account and access millions of resources
Similar Resources on Quizizz
65 questions
Test2A

Quiz
•
University
67 questions
Managing Transport Operations

Quiz
•
University
66 questions
Modern Philosophies and Theories of Education

Quiz
•
University
70 questions
PDE 610 EXAMINATION

Quiz
•
University
70 questions
The never-end quiz

Quiz
•
University
60 questions
Professional Practice 1 IN ARCHITECTURE

Quiz
•
University
60 questions
COM Quarterly Assessment

Quiz
•
KG - Professional Dev...
62 questions
Wprowadzenie do automatyzacji marketingu

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade