0
0
AWScloud~10 mins

Node groups (managed, self-managed, Fargate) in AWS - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify a managed node group in an EKS cluster.

AWS
eks_cluster.add_nodegroup('[1]')
Drag options to blanks, or click blank then click option'
Amanaged
Bself_managed
Cfargate
Dlambda
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'self_managed' which requires manual management.
Choosing 'fargate' which is serverless, not a node group.
Choosing 'lambda' which is unrelated to node groups.
2fill in blank
medium

Complete the code to create a self-managed node group using EC2 instances.

AWS
ec2.create_instances({ 'InstanceType': '[1]', 'MinCount': 1, 'MaxCount': 3 })
Drag options to blanks, or click blank then click option'
Alambda
Bfargate
Ct2.micro
Dmanaged
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'fargate' which is serverless and not an instance type.
Using 'managed' which is a node group type, not an instance type.
3fill in blank
hard

Fix the error in the Fargate profile creation code by completing the missing field.

AWS
eks.create_fargate_profile(clusterName='myCluster', fargateProfileName='[1]', podExecutionRoleArn=role_arn, selectors=[{'namespace': 'default'}])
Drag options to blanks, or click blank then click option'
AselfManaged
BdefaultProfile
CmanagedNodeGroup
DlambdaProfile
Attempts:
3 left
💡 Hint
Common Mistakes
Using node group types as profile names.
Using unrelated terms like 'lambdaProfile'.
4fill in blank
hard

Fill both blanks to define a managed node group with a specific instance type and desired capacity.

AWS
eks_cluster.add_nodegroup(instance_types=['[1]'], desired_capacity=[2])
Drag options to blanks, or click blank then click option'
At3.medium
B5
C3
Dt2.large
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid instance types.
Setting desired capacity to a string instead of a number.
5fill in blank
hard

Fill all three blanks to create a Fargate profile with a namespace selector and a profile name.

AWS
eks.create_fargate_profile(clusterName='myCluster', fargateProfileName='[1]', podExecutionRoleArn=role_arn, selectors=[{'namespace': '[2]'}], subnets=['[3]'])
Drag options to blanks, or click blank then click option'
AfargateProfile1
Bdefault
Csubnet-123abc
DmanagedNodeGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using node group types as profile names.
Using invalid subnet IDs.
Leaving namespace blank or incorrect.