Module 2: Compute in the Cloud (Part 3) Flashcards

1
Q

What is a monolithic application?

A

A monolithic application is an architecture where components are tightly coupled and interconnected. If a single component fails, it can cause other components to fail and potentially lead to the failure of the entire application.

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

What is the advantage of a microservices approach?

A

In a microservices approach, application components are loosely coupled. If a single component fails, other components can continue to function independently, preventing the failure of the entire application.

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

How does a microservices approach help maintain application availability?

A

The loose coupling of components in a microservices approach ensures that if one component fails, other components can still communicate and work, preventing the failure of the entire application.

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

What are two AWS services that facilitate application integration in a microservices architecture?

A

Amazon Simple Notification Service (Amazon SNS) and Amazon Simple Queue Service (Amazon SQS) are two services that facilitate application integration in a microservices architecture.

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

What is Amazon Simple Notification Service (Amazon SNS)?

A

Amazon Simple Notification Service (Amazon SNS) is a publish/subscribe service that allows publishers to send messages to subscribers via topics.

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

What are examples of subscribers in Amazon SNS?

A

Subscribers in Amazon SNS can be web servers, email addresses, AWS Lambda functions, or other options.

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

How does Amazon SNS handle publishing updates from a single topic?

A

Amazon SNS allows publishing updates from a single topic, where a single newsletter includes updates from all areas of a business. Subscribers receive updates about coupons, coffee trivia, and new products within the single newsletter.

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

How does Amazon SNS handle publishing updates from multiple topics?

A

Amazon SNS enables publishing updates from multiple topics. The coffee shop, for example, can have separate newsletters for coupons, coffee trivia, and new products. Subscribers can choose to receive updates only for the specific topics they are interested in.

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

Can subscribers in Amazon SNS subscribe to multiple topics?

A

Yes, subscribers in Amazon SNS can subscribe to a single topic or multiple topics based on their preferences. They can choose to receive updates for only specific topics or multiple topics they are interested in.

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

What is Amazon Simple Queue Service (Amazon SQS)?

A

Amazon Simple Queue Service (Amazon SQS) is a message queuing service that enables sending, storing, and receiving messages between software components without losing messages or relying on the availability of other services.

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

How does Amazon SQS improve the ordering process in the coffee shop example?

A

In the coffee shop example, Amazon SQS enables a more efficient ordering process by decoupling the cashier and barista components. Orders are placed into a queue, allowing the cashier to continue taking new orders while the barista retrieves and processes orders from the queue.

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

What is the role of the queue in Amazon SQS?

A

The queue in Amazon SQS serves as a buffer between components, such as the cashier and barista in the coffee shop example. It allows messages (orders) to be stored and retrieved, ensuring smooth coordination between components even if they are not immediately available to process the messages.

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

What is serverless computing?

A

Serverless computing allows you to run your code without the need to provision or manage servers. It frees you from the responsibilities of server management, allowing you to focus more on innovating new products and features.

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

What is AWS Lambda?

A

AWS Lambda is a serverless computing service that allows you to run code without provisioning or managing servers. It charges you only for the compute time consumed by your code, and you can run code for various types of applications or backend services.

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

How does AWS Lambda work?

A

With AWS Lambda, you upload your code and set it to trigger from an event source. The code runs only when triggered by the specified event source. You pay for the compute time used during code execution.

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

What are containers and their benefits?

A

Containers provide a standard way to package application code and dependencies into a single object. They offer consistency across different computing environments and simplify application deployment. Containers are essential for security, reliability, and scalability.

17
Q

What is Amazon Elastic Container Service (Amazon ECS)?

A

Amazon Elastic Container Service (Amazon ECS) is a highly scalable and high-performance container management system provided by AWS. It allows you to run and scale containerized applications on AWS. Amazon ECS supports Docker containers, enabling you to build, test, and deploy applications quickly.