pt 2 Flashcards
What is EventBridge?
EventBridge is a serverless event bus service provided by AWS that allows you to connect applications using events
What is an EventBridge rule?
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.
What is a Lambda function?
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.
What is Infrastructure as Code (IaC)?
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.
What is the advantage of Infrastructure as Code (IaC)?
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.
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?
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.
What is monolithic software architecture?
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.
What is microservice software architecture?
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.
What are the pros and cons of monolithic architecture vs. microservice architecture?
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.
What is an event bus in the context of EventBridge?
An event bus in EventBridge is a conduit for events, acting as a channel through which events travel from event sources to event targets.