
AWS Dev
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Easy
Đạt Tiến
Used 5+ times
FREE Resource
Enhance your content in a minute
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
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?
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
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
FH 10-Implantación de hardware en CPDs
Quiz
•
Professional Development
59 questions
Mulesoft Practice Test
Quiz
•
Professional Development
57 questions
A+ 1101 Study Quiz 2
Quiz
•
Professional Development
59 questions
Kiến thức về thiết bị máy tính
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
60 questions
KFIN_Tech_Screening_Test_Python_103_Jan'24
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
