EC2 Instance Management Flashcards
Which port is used when managing Windows EC2 instances?
389
22
3389
25
3389
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
Provisioned IOPS
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
The volume is already attached to an instance
What is the default username when launching Amazon Linux instances?
ec2-user
root
linux-user
admin
ec2-user
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
aws ec2 run-instances
Which PowerShell cmdlet is used to add a new EC2 instance?
Run-EC2Instance
Create-EC2Instance
New-EC2Instance
Add-EC2Instance
New-EC2Instance
Which port does SSH use?
22
389
25
3389
22
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
User data
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”
Nothing.
Which PowerShell cmdlet is used to tag an EC2 instance?
New-EC2Tag
Add-EC2Tag
Create-EC2Tag
Set-EC2Tag
New-EC2Tag
Which key must you have in your possession to manage a Windows instance?
Private
Asymmetric
Public
Symmetric
Private
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
Stop the instance
Which of the following are valid EBS volume snapshot sources? Choose two.
Network ACL
Volume
Instance
Security group
Volume
Instance
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
Actions / Launch instance from template
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
Create a custom AMI