A developer needs to use the AWS CLI on an on-premises development server temporarily to access AWS services while performing maintenance. The developer needs to authenticate to AWS with their identity for several hours.
What is the MOST secure way to call AWS CLI commands with the developer's IAM identity?

Test2A

Quiz
•
Professional Development
•
University
•
Medium
Thảo Phương
Used 3+ times
FREE Resource
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Specify the developer's IAM access key ID and secret access key as parameters for each CLI command
Run the aws configure CLI command. Provide the developer's IAM access key ID and secret access key.
Specify the developer's IAM profile as a parameter for each CLI command.
Run the get-session-token CLI command with the developer's IAM user. Use the returned credentials to call the CLI
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An AWS Lambda function accesses two Amazon DynamoDB tables. A developer wants to improve the performance of the Lambda function by identifying bottlenecks in the function.
How can the developer inspect the timing of the DynamoDB API calls?
Add DynamoDB as an event source to the Lambda function. View the performance with Amazon CloudWatch metrics
Place an Application Load Balancer (ALB) in front of the two DynamoDB tables. Inspect the ALB logs
Limit Lambda to no more than five concurrent invocations. Monitor from the Lambda console.
Enable AWS X-Ray tracing for the function. View the traces from the X-Ray service.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer deployed an application to an Amazon EC2 instance. The application needs to know the public IPv4 address of the instance.
How can the application find this information?
Query the instance metadata from http://169.254.169.254/latest/meta-data/.
Query the instance user data from http://169.254.169.254/latest/user-data/.
Query the Amazon Machine Image (AMI) information from http://169.254 169.254/latest/meta-data/ami/.
Check the hosts file of the operating system.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is designing an AWS Lambda function to perform a maintenance activity. The developer will use Amazon EventBridge (Amazon CloudWatch Events) to invoke the function on an hourly schedule. The developer wants the function to log information at different levels of detail according to the value of a log level variable. The developer must design the function so that the log level can be set without requiring a change to the function code.
Which solution will meet these requirements?
Add a custom log level parameter for the Lambda function. Set the parameter by using the Lambda console
Set the log level in a Lambda environment variable
Set the log level in the Amazon CloudWatch Logs console.
Add a custom log level parameter for the Lambda function. Set the parameter by using the AWS CLI.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is creating a serverless application that uses an AWS Lambda function The developer will use AWS CloudFormation to deploy the application The application will write logs to Amazon CloudWatch Logs. The developer has created a log group in a CloudFormation template for the application to use. The developer needs to modify the CloudFormation template to make the name of the log group available to the application at runtime.
Which solution will meet this requirement?
Use the AWS::Include transform in CloudFormation to provide the log group's name to the application.
Pass the log group's name to the application in the user data section of the CloudFormation template
Use the CloudFormation template's Mappings section to specify the log group's name for the application.
Pass the log group's Amazon Resource Name (ARN) as an environment variable to the Lambda function.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A company is running an application on Amazon Elastic Container Service (Amazon ECS). When the company deploys a new version of the application, the company initially needs to expose 10% of live traffic to the new version. After a period of time, the company needs to immediately route all the remaining live traffic to the new version.
Which ECS deployment should the company use to meet these requirements?
Rolling update
Blue/green with canary
Blue/green with all at once
Blue/green with linear
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A microservices application is deployed across multiple containers in Amazon Elastic Container Service (Amazon ECS). To improve performance, a developer wants to capture trace information between the microservices and visualize the microservices architecture.
Which solution will meet these requirements?
Build the container from the amazon/aws-xray-daemon base image. Use the AWS X-Ray SDK to instrument the application.
Install the Amazon CloudWatch agent on the container image. Use the CloudWatch SDK to publish custom metrics from each of the microservices.
Install the AWS X-Ray daemon on each of the ECS instances.
Configure AWS CloudTrail data events to capture the traffic between the microservices.
Create a free account and access millions of resources
Similar Resources on Quizizz
60 questions
SoftEngMidterm

Quiz
•
University
60 questions
ECE 2020-06

Quiz
•
University
66 questions
Modern Philosophies and Theories of Education

Quiz
•
University
60 questions
Develop a Project Plan - Quiz

Quiz
•
University
70 questions
The never-end quiz

Quiz
•
University
60 questions
Entrepreneurship and Innovation Quiz-2

Quiz
•
University
70 questions
eHub PTE online quiz

Quiz
•
12th Grade - Professi...
65 questions
Test5A

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