0
0
AWScloud~20 mins

Why managed Kubernetes matters in AWS - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Kubernetes Mastery on AWS
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why choose managed Kubernetes over self-managed?

Which of the following is the main advantage of using a managed Kubernetes service like AWS EKS instead of setting up Kubernetes yourself?

AYou get automatic updates and security patches managed by the provider.
BYou must manually configure the control plane and worker nodes.
CYou can avoid paying for cloud resources since it runs on your local machine.
DYou have full control over every node and component without restrictions.
Attempts:
2 left
💡 Hint

Think about what tasks managed services handle for you automatically.

💻 Command Output
intermediate
2:00remaining
Output of AWS EKS cluster creation command

What is the expected output when you successfully create an AWS EKS cluster using the AWS CLI command aws eks create-cluster?

AWS
aws eks create-cluster --name my-cluster --role-arn arn:aws:iam::123456789012:role/EKSRole --resources-vpc-config subnetIds=subnet-abc123,subnet-def456
A{ "cluster": { "name": "my-cluster", "status": "ACTIVE", "endpoint": "https://1234567890.gr7.us-east-1.eks.amazonaws.com" } }
B{ "cluster": { "name": "my-cluster", "status": "CREATING", "endpoint": null } }
CError: Missing required parameter 'region'
DSyntaxError: Unexpected token in JSON
Attempts:
2 left
💡 Hint

Right after creation, the cluster status is not yet ACTIVE.

🔀 Workflow
advanced
3:00remaining
Correct order to deploy an app on AWS EKS

Arrange the steps in the correct order to deploy a containerized app on AWS EKS.

A3,1,2,4
B1,3,2,4
C1,2,3,4
D2,1,3,4
Attempts:
2 left
💡 Hint

Think about what must exist before you configure tools or deploy apps.

Troubleshoot
advanced
2:00remaining
Diagnosing EKS node group connection issues

You created an EKS cluster and a managed node group, but your pods stay in Pending state. What is the most likely cause?

AThe node group IAM role lacks permissions to join the cluster.
BThe EKS cluster control plane is not yet ACTIVE.
CThe Docker image is missing from the container registry.
Dkubectl is not installed on your local machine.
Attempts:
2 left
💡 Hint

Think about what allows nodes to register with the cluster.

Best Practice
expert
2:30remaining
Best practice for securing AWS EKS clusters

Which practice is considered best for securing access to your AWS EKS cluster?

ADisable encryption at rest for etcd to improve performance.
BAllow unrestricted access to the Kubernetes API server from any IP.
CStore all secrets as plain text in ConfigMaps for easy access.
DUse AWS IAM roles for service accounts (IRSA) to grant pod permissions.
Attempts:
2 left
💡 Hint

Consider how to limit permissions for pods securely.