A gaming website gives users the ability to trade game items with each other on the platform. The platform requires both users' records to be updated and persisted in one transaction. If any update fails, the transaction must roll back.
Which AWS solution can provide the transactional capability that is required for this feature?

AWS Dev

Quiz
•
Computers
•
Professional Development
•
Easy
Đạt Tiến
Used 5+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Amazon DynamoDB with operations made with the Consistent Read parameter set to true
Amazon ElastiCache for Memcached with operations made within a transaction block
Amazon DynamoDB with reads and writes made by using Transact* operations
Amazon Aurora MySQL with operations made within a transaction block
Amazon Athena with operations made within a transaction block
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A developer has created a Java application that makes HTTP requests directly to AWS services. Application logging shows 5xx HTTP response codes that occur at irregular intervals. The errors are affecting users.
How should the developer update the application to improve the application's resiliency?
Revise the request content in the application code.
Use the AWS SDK for Java to interact with AWS APIs.
Scale out the application so that more instances of the application are running.
Add additional logging to the application code.
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A global company has a mobile app with static data stored in an Amazon S3 bucket in the us-east-1 Region. The company serves the content through an Amazon
CloudFront distribution. The company is launching the mobile app in South Africa. The data must reside in the af-south-1 Region. The company does not want to deploy a specific mobile client for South Africa.
What should the company do to meet these requirements?
Use the CloudFront geographic restriction feature to block access to users in South Africa.
Create a Lambda@Edge function. Associate the Lambda@Edge function as an origin request trigger with the CloudFront distribution to change the S3 origin Region.
Create a Lambda@Edge function. Associate the Lambda@Edge function as a viewer response trigger with the CloudFront distribution to change the S3 origin Region.
Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution.
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A developer is testing an AWS Lambda function by using the AWS Serverless Application Model (AWS SAM) local CLI. The application that is implemented by the
Lambda function makes several AWS API calls by using the AWS software development kit (SDK). The developer wants to allow the function to make AWS API calls in a test AWS account from the developer's laptop.
What should the developer do to meet these requirements?
Edit the template.yml file. Add the AWS_ACCESS_KEY_ID property and the AWS_SECRET_ACCESS_KEY property in the Globals section.
Add a test profile by using the aws configure command with the --profile option. Run AWS SAM by using the sam local invoke command with the -profile option.
Edit the template.yml tile. For the AWS::Serverless::Function resource, set the role to an IAM role in the AWS account.
Run the function by using the sam local invoke command. Override the AWS_ACCESS_KEY_ID parameter and the AWS_SECRET_ACCESS_KEY parameter by specifying the --parameter-overrides option.
5.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
A developer designed an application on an Amazon EC2 instance. The application makes API requests to objects in an Amazon S3 bucket.
Which combination of steps will ensure that the application makes the API requests in the MOST secure manner? (Choose two.)
Create an IAM user that has permissions to the S3 bucket. Add the user to an IAM group.
Create an IAM role that has permissions to the S3 bucket.
Add the IAM role to an instance profile. Attach the instance profile to the EC2 instance.
Create an IAM role that has permissions to the S3 bucket. Assign the role to an 1AM group.
Store the credentials of the IAM user in the environment variables on the EC2 instance.
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A developer is configuring an Amazon CloudFront distribution for a new application to provide encryption in transit. The application is running in the eu-west-1
Region. The developer creates a new certificate in AWS Certificate Manager (ACM) in eu-west-1, but the certificate is not visible in the CloudFront distribution settings.
What should the developer do to fix this problem?
Create the certificate for the domain in the same Region as the application. Ensure that the alternate domain name (CNAME) in the distribution settings matches the domain name in the certificate.
Create the certificate in the eu-west-1 Region. Ensure that the alternate domain name (CNAME) in the distribution settings matches the domain name in the certificate.
Recreate the CloudFront distribution in the same Region as the certificate.
Specify the ACM certificate name as the default root object of the CloudFront distribution.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A developer is building an application that runs behind an Application Load Balancer (ALB). The ALB is configured as the origin for an Amazon CloudFront distribution. Users will log in to the application by using their social media accounts.
How can the developer authenticate users?
Validate the users by inspecting the tokens in an AWS Lambda authorizer on the ALB.
Configure the ALB to use Amazon Cognito as one of the authentication providers.
Configure CloudFront to use Amazon Cognito as one of the authentication providers.
Validate the users by calling the Amazon Cognito API in an AWS Lambda authorizer on the ALB.
Create a free account and access millions of resources
Similar Resources on Quizizz
62 questions
Security+ Phase 6

Quiz
•
Professional Development
64 questions
FC0-U61(758) Quiz 7

Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #1

Quiz
•
University - Professi...
60 questions
FH 10-Implantación de hardware en CPDs

Quiz
•
Professional Development
65 questions
Cloud Practitioner C04

Quiz
•
Professional Development
65 questions
AWS Cloud Practitioner Q1

Quiz
•
Professional Development
65 questions
AWS developer associate

Quiz
•
Professional Development
65 questions
EC2_Quizziz

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