Section 3: EC2 Flashcards Preview

AWS Associate Developer Exam > Section 3: EC2 > Flashcards

Flashcards in Section 3: EC2 Deck (7)
Loading flashcards...
1

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) Cluster

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

2

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

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

3

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

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

4

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) AMI is region locked and same ID cannot be used across regions

5

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

B) Dedicated Hosts

6

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

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)

7

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

D) Scheduled Reserved Instances