You are responsible for a Kubernetes-based cncf video

 ·  PT1H46M27S  ·  EN

kcna video for you are responsible for a Kubernetes-based microservice running in a production environment. The microservice experiences variable traffic loads

Full Certification Question

You are responsible for a Kubernetes-based microservice running in a production environment. The microservice experiences variable traffic loads and needs to scale automatically based on CPU utilization. You have already created a Deployment with 2 replicas. Now, you want to configure Horizontal Pod Autoscaling (HPA) to scale the replicas based on CPU usage when it exceeds 70%. Which is the most appropriate way to configure Horizontal Pod Autoscaling for the microservice, ensuring scalability and avoiding over-provisioning?