EC2 Instance Management Flashcards

1
Q

Which port is used when managing Windows EC2 instances?

389

22

3389

25

A

3389

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You need to create an EBS volume that will run a disk I/O intensive workload. Which volume type should you configure?

Provisioned IOPS

Magnetic

Cold HDD

General Purpose

A

Provisioned IOPS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You are attempting to attach an EBS volume to an EC2 instance, but the Attach option is greyed out. What is the most likely cause of the problem?

The volume has not been backed up

The volume does not contain a valid file system

The volume does not have a snapshot

The volume is already attached to an instance

A

The volume is already attached to an instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default username when launching Amazon Linux instances?

ec2-user

root

linux-user

admin

A

ec2-user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which AWS CLI command is used to launch a new instance?

aws ec2 create-instances

aws ec2 new-instances

aws ec2 run-instances

aws ec2 add-instances

A

aws ec2 run-instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which PowerShell cmdlet is used to add a new EC2 instance?

Run-EC2Instance

Create-EC2Instance

New-EC2Instance

Add-EC2Instance

A

New-EC2Instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which port does SSH use?

22

389

25

3389

A

22

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You are using the AWS management console to launch a new EC2 Windows instance. You would like to have a script execute when the instance is launched. Into which field should you place the launch script commands?

User data

Tag

VPC

Tenancy

A

User data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You need to tag a Windows EC2 instance using the AWS CLI. What is wrong with the following command?

aws ec2 create-tags –resources i-0042a2754e7ce430f –tags Key=Name,Value=WinSrv2019-1

The command should be “aws instance create-tags”

Nothing.

“–tags” should be “–metadata”

“–resources” should be “–instances”

A

Nothing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which PowerShell cmdlet is used to tag an EC2 instance?

New-EC2Tag

Add-EC2Tag

Create-EC2Tag

Set-EC2Tag

A

New-EC2Tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which key must you have in your possession to manage a Windows instance?

Private

Asymmetric

Public

Symmetric

A

Private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You need to change an existing EC2 instance type. What must you do first?

Start the instance

Take an instance snapshot

Enable instance replication

Stop the instance

A

Stop the instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following are valid EBS volume snapshot sources? Choose two.

Network ACL

Volume

Instance

Security group

A

Volume

Instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You have selected a launch template. You need to create an instance from the template. What should you click on?

Launch/Instance from template

Actions / Launch instance from template

Quickstart

Quicklaunch

A

Actions / Launch instance from template

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Your software developers require an easy way to launch new instances that are customized with developer tools and settings. What should you do?

Create a VPC

Create a CloudFormation stack

Create a volume snapshot

Create a custom AMI

A

Create a custom AMI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly