f a r g a t e Flashcards

1
Q

What are Fargate Task Sizes?

A

In Fargate, you define task sizes based on CPU and memory configurations. These must follow predefined CPU-memory pairings (e.g., 0.25 vCPU and 0.5 GB memory, 1 vCPU and 2 GB memory, etc.).

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

How does logging work in Fargate?

A

Fargate supports AWS CloudWatch Logs integration, which allows you to aggregate logs from your containers and view them in CloudWatch Logs. You configure this in your task definition.

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

What is the task ENI (Elastic Network Interface) in Fargate?

A

Fargate supports Amazon Elastic File System (EFS) integration, which allows containers to access shared file storage. This is useful for stateful applications where data persistence across tasks is needed.

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

What is the pricing model for Fargate?

A

Fargate pricing is based on the CPU and memory resources allocated to your tasks. You pay for the time that tasks are running, and there are no upfront costs or EC2 instances to manage.

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

How does load balancing work in Fargate?

A

Fargate tasks can be integrated with an AWS Application Load Balancer (ALB) or Network Load Balancer (NLB). This distributes traffic evenly across running tasks and supports features like SSL termination and path-based routing.

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

What is Service Discovery in ECS with Fargate?

A

ECS Service Discovery automatically registers your services in Route 53 DNS when they start. This allows other services or external clients to easily discover and connect to your tasks using a DNS name.

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

How does Fargate ensure task isolation?

A

Each Fargate task runs in its own VM-like environment with dedicated CPU and memory. This provides security and resource isolation, preventing tasks from affecting each other’s performance.

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

How can you monitor and troubleshoot Fargate tasks?

A

You can monitor Fargate tasks using AWS CloudWatch (metrics and logs), AWS X-Ray (tracing), and ECS Console (task and service health). You can also use ECS events to track task lifecycle and issues.

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