A company is migrating a legacy application to Amazon EC2. The application uses a user name and password stored in the source code to connect to a MySQL database. The database will be migrated to an Amazon RDS for MySQL DB instance. As part of the migration, the company wants to implement a secure way to store and automatically rotate the database credentials.

AWS Certified Developer - Associate

Quiz
•
Professional Development, Other
•
Professional Development
•
Hard

Angie Canzanella
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Store the database credentials in environment variables in an Amazon Machine Image (AMI). Rotate the credentials by replacing the AMI
Store the database credentials in AWS Systems Manager Parameter Store. Configure Parameter Store to automatically rotate the credentials.
Store the database credentials in environment variables on the EC2 instances. Rotate the credentials by relaunching the EC2 instances
Store the database credentials in AWS Secrets Manager. Configure Secrets Manager to automatically rotate the credentials.
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
A developer is designing a web application that allows the users to post comments and receive nearreal-time feedback. Which architectures meet these requirements? (Select TWO.)
Create an AWS AppSync schema and corresponding APIs. Use an Amazon DynamoDB table as the data store
Create a WebSocket API in Amazon API Gateway. Use an AWS Lambda function as the backend and an Amazon DynamoDB table as the data store.
Create an AWS Elastic Beanstalk application backed by an Amazon RDS database. Configure the application to allow long-lived TCP/IP sockets.
Create a GraphQL endpoint in Amazon API Gateway. Use an Amazon DynamoDB table as the data store
Enable WebSocket on Amazon CloudFront. Use an AWS Lambda function as the origin and an Amazon Aurora DB cluster as the data store.
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
A developer is adding sign-up and sign-in functionality to an application. The application is required to make an API call to a custom analytics solution to log user sign-in events. Which combination of actions should the developer take to satisfy these requirements? (Select TWO.)
Use Amazon Cognito to provide the sign-up and sign-in functionality
Use AWS IAM to provide the sign-up and sign-in functionality
Configure an AWS Config rule to make the API call triggered by the post-authentication event.
Invoke an Amazon API Gateway method to make the API call triggered by the post-authentication event
Execute an AWS Lambda function to make the API call triggered by the post-authentication event
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
A company is using Amazon API Gateway for its REST APIs in an AWS account. The security team wants to allow only IAM users from another AWS account to access the APIs. Which combination of actions should the security team take to satisfy these requirements? (Select TWO.)
Create an IAM permission policy and attach it to each IAM user. Set the APIs method authorization type to AWS_IAM. Use Signature Version 4 to sign the API requests
Create an Amazon Cognito user pool and add each IAM user to the pool. Set the method authorization type for the APIs to COGNITO_USER_POOLS. Authenticate using the IAM credentials in Amazon Cognito and add the ID token to the request headers
Create an Amazon Cognito identity pool and add each IAM user to the pool. Set the method authorization type for the APIs to COGNITO_USER_POOLS. Authenticate using the IAM credentials in Amazon Cognito and add the access token to the request headers
Create a resource policy for the APIs that allows access for each IAM user only
Create an Amazon Cognito authorizer for the APIs that allows access for each IAM user only. Set the method authorization type for the APIs to COGNITO_USER_POOLS.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer is building an application that transforms text files to .pdf files. The text files are written to a source Amazon S3 bucket by a separate application. The developer wants to read the files as they arrive in Amazon S3 and convert them to .pdf files using AWS Lambda. The developer has written an IAM policy to allow access to Amazon S3 and Amazon CloudWatch Logs. Which actions should the developer take to ensure that the Lambda function has the correct permissions?
Create a Lambda execution role using AWS IAM. Attach the IAM policy to the role. Assign the Lambda execution role to the Lambda function.
Create a Lambda execution user using AWS IAM. Attach the IAM policy to the user. Assign the Lambda execution user to the Lambda function.
Create a Lambda execution role using AWS IAM. Attach the IAM policy to the role. Store the IAM role as an environment variable in the Lambda function.
Create a Lambda execution user using AWS IAM. Attach the IAM policy to the user. Store the IAM user credentials as environment variables in the Lambda function
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A company has AWS workloads in multiple geographical locations. A developer has created an Amazon Aurora database in the us-west-1 Region. The database is encrypted using a customer-managed AWS KMS key. Now the developer wants to create the same encrypted database in the us-east-1 Region. Which approach should the developer take to accomplish this task?
Create a snapshot of the database in the us-west-1 Region. Copy the snapshot to the us-east-1 Region and specify a KMS key in the us-east-1 Region. Restore the database from the copied snapshot.
Create an unencrypted snapshot of the database in the us-west-1 Region. Copy the snapshot to the useast-1 Region. Restore the database from the copied snapshot and enable encryption using the KMS key from the us-east-1 Region
Disable encryption on the database. Create a snapshot of the database in the us-west-1 Region. Copy the snapshot to the us-east-1 Region. Restore the database from the copied snapshot.
In the us-east-1 Region, choose to restore the latest automated backup of the database from the us-west1 Region. Enable encryption using a KMS key in the us-east-1 Region.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer is adding Amazon ElastiCache for Memcached to a company's existing record storage application to reduce the load on the database and increase performance. The developer has decided to use lazy loading based on an analysis of common record handling patterns. Which pseudocode example would correctly implement lazy loading?
record_value = db.query("UPDATE Records SET Details = {1} WHERE ID == {0}", record_key, record_value) cache.set (record_key, record_value)
record_value = cache.get(record_key) if (record_value == NULL) record_value = db.query("SELECT Details FROM Records WHERE ID == {0}", record_key) cache.set (record_key, record_value)
record_value = cache.get (record_key) db.query("UPDATE Records SET Details = {1} WHERE ID == {0}", record_key, record_value)
record_value = db.query("SELECT Details FROM Records WHERE ID == {0}", record_key) if (record_value != NULL) cache.set (record_key, record_value)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
AWS CCP q41-50

Quiz
•
Professional Development
12 questions
Seguridad - Clase 9

Quiz
•
Professional Development
15 questions
AWS ACF Módulo 3 - Visão da infraestrutura global da AWS

Quiz
•
Professional Development
10 questions
ARCHv7 Quiz - Day 3

Quiz
•
University - Professi...
10 questions
AWS ACF Módulo 10 - Auto Scaling e monitoramento

Quiz
•
Professional Development
15 questions
Espaço K 110721

Quiz
•
Professional Development
10 questions
AWS CCP q51-60

Quiz
•
Professional Development
10 questions
Aula dia 1

Quiz
•
Professional Development
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