pt 2 Flashcards

1
Q

What is EventBridge?

A

EventBridge is a serverless event bus service provided by AWS that allows you to connect applications using events

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

What is an EventBridge rule?

A

An EventBridge rule matches incoming events and routes them to target AWS services or resources. Rules can filter and transform events before forwarding them to the specified targets.

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

What is a Lambda function?

A

A Lambda function is a serverless compute service in AWS that lets you run code without provisioning or managing servers. You can trigger Lambda functions in response to events, such as changes to data in an S3 bucket or updates in a DynamoDB table.

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

What is Infrastructure as Code (IaC)?

A

Infrastructure as Code (IaC) is the practice of managing and provisioning computing infrastructure through machine-readable definition files, rather than through physical hardware configuration or interactive configuration tools.

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

What is the advantage of Infrastructure as Code (IaC)?

A

The advantages of IaC include improved consistency, repeatability, and scalability of infrastructure setups. It also enables version control, automation, and faster deployment of infrastructure changes.

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

What is the risk of not using Infrastructure as Code, such as by creating EventBridge rules via the AWS SDK from hitting an endpoint on my backend?

A

The risk includes potential inconsistencies, difficulty in tracking changes, increased chances of human error, and lack of version control. This approach can lead to unmanageable and less reproducible infrastructure.

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

What is monolithic software architecture?

A

Monolithic software architecture is a design pattern where all components of an application are interconnected and interdependent. It is a single unified unit that runs as one large application.

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

What is microservice software architecture?

A

Microservice software architecture is a design pattern where an application is composed of small, independent services that communicate over well-defined APIs. Each service is responsible for a specific piece of functionality.

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

What are the pros and cons of monolithic architecture vs. microservice architecture?

A

Monolithic Architecture Pros: Simpler to develop and deploy, easier to test, and less overhead in communication between components.
Monolithic Architecture Cons: Harder to scale, less flexible, and more challenging to maintain as the application grows.
Microservice Architecture Pros: Improved scalability, flexibility, and easier to maintain and develop individual services.
Microservice Architecture Cons: More complex to manage and deploy, increased communication overhead, and potential challenges in data consistency and transaction management.

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

What is an event bus in the context of EventBridge?

A

An event bus in EventBridge is a conduit for events, acting as a channel through which events travel from event sources to event targets.

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