AWS Module 2 - Amazon Elastic Compute Cloud or EC2 Flashcards

1
Q

What is meant by compute power?

A

Compute power refers to the ability of a computer system or infrastructure to perform various computational tasks and operations

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

Compute power is a measure of the ___ of a computing environment, including its ability to execute ___, process __, and perform ____.

A

processing capabilities
instructions
data
calculations

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

What is EC2?

A

The service you use to gain access to virtual servers is called EC2.

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

With EC2, you only pay for___ instances, not stopped or terminated instances.

A

running

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

What is responsible for sharing the underlying physical resources running on the host machine?

A

Hypervisor

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

What is multitenancy?

A

This idea of sharing underlying hardware is called multitenancy.

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

Can you explain the balanced resource allocation provided by general purpose instances and the types of workloads that benefit from them?

A

General purpose instances offer a balanced combination of compute, memory, and networking resources, making them suitable for workloads such as application servers, gaming servers, backend servers for enterprise applications, and small to medium-sized databases

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

What type of applications can benefit from general purpose instances?
a) High-performance web servers
b) Compute-intensive applications
c) Gaming servers
d) Workloads that require balanced compute, memory, and networking resources

A

d

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

When are compute optimized instances suitable?
a) For high memory needs
b) For workloads involving large datasets
c) For compute-bound applications that require high-performance processors
d) For distributed file systems

A

c

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

Memory optimized instances are designed for workloads that require:
a) Sequential read and write access
b) Hardware acceleration
c) Preloading of large datasets in memory
d) Floating-point number calculations

A

c

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

What functions do accelerated computing instances perform more efficiently using hardware accelerators?
a) Data warehousing
b) Data pattern matching
c) Application streaming
d) Real-time processing

A

b

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

What does the term IOPS (Input/Output Operations Per Second) measure in computing?
a) CPU performance
b) Memory capacity
c) Storage device performance
d) Network bandwidth

A

c

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

Compute optimized instances are well-suited for compute-bound applications that benefit from high-performance ____________.

A

processors

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

Accelerated computing instances leverage hardware accelerators to perform certain functions more efficiently than ____________ running on CPUs.

A

software

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

Which of the following workloads is best suited for general purpose instances?
a) High-memory databases
b) High-performance web servers
c) GPU-intensive machine learning
d) Real-time analytics

A

b

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

What type of application can benefit the most from accelerated computing instances?
a) Database servers with high I/O operations
b) Real-time video transcoding
c) Web hosting for content management systems
d) Batch processing of log data

A

b

16
Q

When should you consider using storage optimized instances?
a) Running virtual desktop infrastructure (VDI)
b) Web hosting for small business websites
c) Hosting a blog with moderate traffic
d) Storing large datasets for data warehousing

A

d

17
Q

Which type of Reserved Instances is the best choice if you know your workload’s specific requirements?
a) Standard Reserved Instances
b) Convertible Reserved Instances
c) One-year term Reserved Instances
d) Three-year term Reserved Instances

A

a

18
Q

How do EC2 Instance Savings Plans work in terms of commitment and savings?
a) They require a specific number of instances commitment over 1 year.
b) They offer up to 72% savings compared to On-Demand rates.
c) They provide savings on any EC2 instance type within an instance family.
d) Savings apply only to specific Availability Zones.

A

b

19
Q

What is the primary use case for Spot Instances?
a) Long-term workloads with predictable resource demands
b) Applications that require uninterrupted, high-performance computing
c) Workloads with flexible start and end times that can handle interruptions
d) Real-time database operations with stringent performance requirements

A

c

20
Q

When might you consider using Dedicated Hosts for your Amazon EC2 instances?
a) High-performance applications that require cost-effective solutions
b) Workloads with unpredictable usage patterns
c) To take advantage of shared software licenses
d) For long-term workloads with consistent resource needs

A

d

21
Q

They may experience unexpected interruptions when capacity is unavailable or in high demand. Which pricing plan is this?

A

Spot instances

22
Q

Which AWS service can automatically adjust the number of Amazon EC2 instances based on predicted demand?

a) Amazon Elastic Compute Cloud (EC2)
b) AWS Lambda
c) Amazon EC2 Auto Scaling
d) Elastic Load Balancing

A

c)

23
Q

What is the main difference between dynamic scaling and predictive scaling in Amazon EC2 Auto Scaling?
a) Predictive scaling automatically schedules the right number of EC2 instances, while dynamic scaling responds to changing demand.
b) Dynamic scaling schedules instances based on a predictive algorithm, while predictive scaling responds instantly to workload changes.
c) Predictive scaling is costlier than dynamic scaling due to the predictive nature of resource allocation.
d) Dynamic scaling is manual, whereas predictive scaling is automated.

A

a

24
Q

What is the purpose of a load balancer in AWS?

a) To overload an instance with the maximum traffic.
b) To equally distribute the workload across multiple instances.
c) To monitor the instances without routing traffic.
d) To route requests to specific instances based on predetermined criteria.

A

b

25
Q

What makes a load balancer highly available, and how does it aid applications running on Amazon EC2?

a) It functions at the instance level and ensures even workload distribution, helping in scaling and reliability.
b) It manages each EC2 instance separately, reducing redundancy and ensuring availability.
c) It operates at the Region level, offers high availability without additional efforts, and ensures requests are distributed evenly to the instances.
d) It routes traffic to instances based on their individual capabilities, ensuring optimum performance and redundancy.

A

c

26
Q

Which AWS services help in achieving loosely coupled architectures?

a) Amazon S3 and Amazon EFS
b) Amazon SQS and Amazon SNS
c) AWS Database Migration Service and AWS Data Pipeline
d) Amazon RDS and Amazon DynamoDB

A

b

27
Q

Which AWS service simplifies the building, testing, and deployment of Virtual Machine and container images for use on AWS or on-premises?

A

Amazon EC2 Image Builder

28
Q

What AWS service is designed to be the easiest way to launch and manage a virtual private server with AWS, offering a low, predictable price for a complete package?

A

Amazon Lightsail

29
Q

Which AWS service is a fully managed service that allows developers to quickly deploy containerized web applications and APIs, automatically handling deployment, load balancing, and scaling?

A

AWS App Runner

30
Q

Which service enables the efficient execution of batch computing jobs on AWS, dynamically provisioning the optimal compute resources based on job requirements?

A

AWS Batch

31
Q

Name the AWS service that allows developers to deploy and scale web applications and services developed with various programming languages, handling deployment, load balancing, and auto scaling.

A

AWS Elastic Beanstalk

32
Q

What is the compute engine for Amazon ECS that allows running containers without having to manage servers or clusters?

A

AWS Fargate

33
Q

Which AWS service lets you run code without provisioning or managing servers, allowing you to pay only for the compute time consumed?

A

AWS Lambda

34
Q

What AWS offering enables you to quickly deploy code samples, components, and complete applications for various common use cases without any additional charge beyond the used AWS resources?

A

AWS Serverless Application Repository

35
Q

AWS Outposts bring native AWS services and infrastructure to virtually any data center or co-location space. True or False?

A

True

36
Q

What is the AWS infrastructure offering optimized for mobile edge computing applications?

A

AWS Wavelength