[03] Architecting for ECS Flashcards

1
Q

What is the dualStackIPv6 parameter used for?

A

It allows awsvpc tasks to be provided an IPv6 address in addition to the primary private IPv4 address

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

What are the requirements for a task to receive an IPv6 address?

A

The task must use awsvpc network mode, be launched in a VPC configured for dual-stack mode, and the dualStackIPv6 account setting must be enabled

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

What is the fargateFIPSMode parameter used for?

A

It turns on FIPS-140 compliance for Fargate tasks

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

What does the tagResourceAuthorization parameter enforce?

A

It enforces the ecs:TagResource permission when calling ECS API actions which create resources with tags e.g. ECS:CreateCluster

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

What is the purpose of the fargateTaskRetirementWaitPeriod parameter?

A

It controls the notice period for non-critical Fargate platform revision updates

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

What does the guardDutyActivate parameter indicate?

A

It is a read-only setting which indicates whether GuardDuty Runtime Monitoring is enabled

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

What accounts are opted in to using the new ARN formats by default?

A

New accounts are opted in by default

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

What parameters can be used to opt-in to using the new ARN formats?

A

serviceLongArnFormat, taskLongArnFormat & containerInstanceLongArnFormat

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

What does the awsvpcTrunking parameter enable?

A

It enables ENI trunking for certain EC2 instance types

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

What does the containerInsights parameter determine?

A

It determines whether Container Insights is enabled by default for new clusters

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

Can the containerInsights setting be overridden for a specific cluster?

A

Yes, it can be overridden in ecs:CreateCluster

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

What options are available for latency critical applications with ECS?

A

Local Zones, Wavelength Zones, AWS Outposts

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

What are Local Zones?

A

An extension of an AWS region

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

What are Wavelength Zones?

A

Colocated with infrastructure used for carriers’ 5G networks

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

What is AWS Outposts?

A

Allows AWS infrastructure to be deployed on premises

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

What is a limitation of Local Zones, Wavelength Zones, and AWS Outposts?

A

Other AWS services are limited in these environments e.g. only some Local Zones support ALBs

17
Q

Where does the ECS control plane run for Local Zones, Wavelength Zones, and AWS Outposts?

A

In the region

18
Q

What is the recommended agent configuration setting when running the agent outside a region?

A

ECS_IMAGE_PULL_BEHAVIOR=prefer-cached

19
Q

What is the default setting for the ECS_IMAGE_PULL_BEHAVIOR agent configuration?

A

Not prefer-cached

20
Q

What are shared subnets supported for?

A

EC2 and Fargate tasks

21
Q

What security group restriction applies when using shared subnets?

A

The security group(s) used must belong to the current account

22
Q

For Fargate tasks, what conditions allow tasks to have public IPs?

A

The network mode is awsvpc, the assignPublicIP is ENABLED in the service definition, and the subnet supports it

23
Q

For EC2 tasks, what network modes allow tasks to have public IPs?

A

bridge or host

24
Q

What other condition is required for EC2 tasks to have public IPs?

A

The EC2 container instance has a public IP

25
Q
A