Q72 — AWS SOA-C02 Ch.1

Question 72 of 100 | ← Chapter 1

A SysOps administrator creates an Amazon Elastic Kubernetes Service (Amazon EKS) cluster that uses AWS Fargate. The cluster is deployed successfully. The SysOps administrator needs to manage the cluster by using the kubectl command line tool. Which of the following must be configured on the SysOps administrator’s machine so that kubectl can communicate with the cluster API server?

Correct Answer: A. The kubeconfig file

Explanation

在管理Amazon EKS集群时,kubectl工具依赖kubeconfig文件获取集群API服务器的连接信息,包括地址、认证凭证和上下文配置。AWS官方文档明确指出,使用kubectl访问EKS集群前,需通过aws eks update-kubeconfig命令生成或更新kubeconfig文件。选项B(kube-proxy)是集群内部网络组件,选项C(Fargate profile)用于定义Pod部署规则,选项D(eks-connector.yaml)并非标准配置,均不涉及本地kubectl与API服务器的通信配置。正确答案为选项A。