[02] Fargate Flashcards

1
Q

What load balancers are supported for Fargate tasks?

A

ALB or NLB

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

What target type is used to registering Fargate tasks to a target group?

A

ip

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

What is required for UDP traffic on Fargate?

A

An NLB and Fargate platform version 1.4 or later

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

What is the recommended way to track Fargate usage against service quotas?

A

Fargate usage metrics published as CloudWatch metrics under the AWS/Usage namespace

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

What Linux parameter is supported on Fargate?

A

SYS_PTRACE

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

What features are not supported for Windows containers on Fargate?

A

gMSA (Group Managed Service Accounts) and Amazon FSx

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

How can resource limits be configured on Linux containers in Fargate?

A

Using ulimits

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

What is the isolation boundary for each Fargate task?

A

Each Fargate task has its own isolation boundary and does not share the underlying kernel, CPU resources, memory resources, or elastic network interfaces with another task

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

What is the networking mode is supported by Fargate?

A

awsvpc

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

Which role is required for Fargate tasks?

A

The task execution role

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

What is the default task execution role created by the console?

A

ecsTaskExecutionRole with the policy AmazonECSTaskExecutionRolePolicy

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

What type of tasks are run at a discounted rate by Fargate?

A

Spot tasks, which are used for interruption-tolerant tasks

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

What warning do interruption-tolerant tasks receive before being stopped?

A

A two-minute warning

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

What infrastructure configuration does Fargate Spot support?

A

Linux for the OS and X86_64 for the architecture

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

What is used when LATEST is specified for the platform version?

A

The latest revision of the platform version

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

How are Windows and Linux platform versions released and numbered?

A

Windows and Linux platform versions are released and numbered independently

17
Q

What container runtime does Fargate for Linux use as of platform version 1.4.0?

A

containerd

18
Q

What architectures does Windows Fargate support?

A

X86_64 only

19
Q

What do Windows Server container images need to be created for?

A

A specific version of Windows Server e.g. Windows Server 2022 Core

20
Q

What field in the service definition specifies the Windows Server version for Fargate?

A

platformFamily

21
Q

What field in the task definition must match the platformFamily in the service definition?

A

operatingSystemPlatform

22
Q

How much ephemeral storage do Fargate tasks receive by default?

A

20 GiB

23
Q

What is the maximum amount of ephemeral storage that can be configured for a Fargate task?

A

200 GiB

24
Q

How is ephemeral storage configured for a Fargate task?

A

By setting the ephemeralStorage task definition parameter

25
Q

What is ephemeral storage used for in Fargate tasks?

A

To pull images, and can be used by the task for other purposes using a bind mount

26
Q

What is cached by Fargate to speed up image pulls for Windows images?

A

The base layers for Windows versions released in the last month

27
Q

What happens during task retirement?

A

For service tasks, no action is required as the tasks are replaced while respecting the minimum and maximum healthy percent configured for the service. Standalone tasks are stopped on the task retirement date and are not replaced.

28
Q

How is the reason for tasks stopping due to retirement communicated?

A

The stoppedReason field in the DescribeTasks API response will be ECS is performing maintenance on the underlying infrastructure hosting the task

29
Q

How are notifications sent for tasks scheduled to be retired?

A

A notice is sent via email and as an AWS Health notification

30
Q

Where do AWS Health notifications appear?

A

AWS Health notifications appear in the Personal Health Dashboard (PHD)

31
Q

What account setting controls the notice period for task retirements?

A

The fargateTaskRetirementWaitPeriod account setting

32
Q

What are the supported values for the fargateTaskRetirementWaitPeriod setting?

A

The supported values are 0, 7 & 14 days. The default value is 7 days

33
Q

Is the fargateTaskRetirementWaitPeriod setting applied for critical security updates?

A

This setting is ignored for critical security updates which occur immediately after the notification

34
Q

What are the two phases of platform version deprecation?

A

The force update date then the deprecation date

35
Q

What happens on the force update date?

A

On the force update date, a force deployment is performed on services using LATEST as the platform version. Services using a specific platform version, and standalone tasks, are not affected

36
Q

What happens on the deprecation date?

A

On the deprecation date, new tasks will no longer be able to launch using that platform version. Standalone tasks, and tasks in a service explicitly using the older platform version, will continue running