
Test2
Quiz
•
Professional Development
•
University
•
Hard
Thảo Phương
FREE Resource
Enhance your content
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
Language,Culture & Society
Quiz
•
University
61 questions
CBT Mock Exam 3
Quiz
•
University
66 questions
MCQ #2 - Finance 1
Quiz
•
University
60 questions
Final Exams in Curriculum Development
Quiz
•
University
61 questions
All chapters of PPBI
Quiz
•
University
60 questions
ECE 2021-06
Quiz
•
University
69 questions
312課程模式325區分性課程與教學326教育模式
Quiz
•
University
66 questions
MSSC Quality Review 1
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University