Section 3: EC2 Flashcards

Pulled from here: https://datadog.udemy.com/course/aws-certified-solutions-architect-associate-saa-c02/learn/quiz/4594946#content

1
Q

You would like to make sure your EC2 instances have the highest performance while talking to each other as you’re performing big data analysis. Which placement group should you choose?
A) Cluster
B) Spread

A

A) Cluster

Cluster placement groups places your instances next to each other giving you high performance computing and networking

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

You plan on running an open-source MongoDB database year-round on EC2. Which instance launch mode should you choose?
A) On-Demand
B) Reserved Instances
C) Spot Instances

A

B) Rerserved Instances

This will allow you to save cost as you know in advance that the instance will be a up for a full year

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

You built and published an AMI in the ap-southeast-2 region, and your colleague in us-east-1 region cannot see it

A) Their IAM permissions are wrong
B) An AMI created for a region can only be seen in that region
C) You need to share the AMI with them explicitly

A

B) An AMI created for a region can only be seen in that region

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

You are launching an EC2 instance in us-east-1 using this Python script snippet:

(we will see SDK in a later section, for now just look at the code reference ImageId)

ec2.create_instances(ImageId=’ami-b23a5e7’, MinCount=1, MaxCount=1)
It works well, so you decide to deploy your script in us-west-1 as well. There, the script does not work and fails with “ami not found” error. What’s the problem?

A) AMI is region locked and same ID cannot be used across regions

B) The AMI needs to first be shared to another region. The same ID can then be used

A

A) AMI is region locked and same ID cannot be used across regions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
You would like to deploy a database technology and the vendor license bills you based on the physical cores and underlying network socket visibility. Which EC2 launch modes allow you to get visibility into them?
A) Spot Instances
B) Dedicated Hosts
C) On-Demand
D) Reserved Isntances
A

B) Dedicated Hosts

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

You are launching an application on EC2 and the whole process of installing the application takes about 30 minutes. You would like to minimize the total time for your instance to boot up and be operational to serve traffic. What do you recommend?
A) Install the application using EC2 User Data
B) Create an AMI after installing the application and launch from the AMI
C) Use the EC2 Cluster Placement Group
D) Provision teh R4.xlarge instance type

A

B) Create an AMI after installing the application and launch from the AMI

Creating an AMI after installing the applications allows you to start more EC2 instances directly from that AMI, hence bypassing the need to install the application (as it’s already installed)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
You are running a critical workload of three hours per week, on Monday. As a solutions architect, which EC2 Instance Launch Type should you choose to maximize the cost savings while ensuring the application stability?
A) On-Demand Instances
B) Reserved Instances
C) Spot Instances
D) Scheduled Reserved Instances
A

D) Scheduled Reserved Instances

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