Test2A

Test2A

University

65 Qs

quiz-placeholder

Similar activities

Information Assurance and Security MIDTERM

Information Assurance and Security MIDTERM

University

65 Qs

CultureManagement-QCM-201610

CultureManagement-QCM-201610

University

60 Qs

folleto corporativo 61 preguntas

folleto corporativo 61 preguntas

University

61 Qs

csa exam part2

csa exam part2

University

60 Qs

Test2

Test2

University

65 Qs

Preliminary Exam-ITSYS

Preliminary Exam-ITSYS

University

60 Qs

OSI Layer

OSI Layer

University - Professional Development

65 Qs

Let's Earn Moneyy

Let's Earn Moneyy

University

65 Qs

Test2A

Test2A

Assessment

Quiz

Professional Development

University

Medium

Created by

Thảo Phương

Used 3+ times

FREE Resource

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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?

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?