Question: 1/50
You need to create a Deployment that runs an nginx container with 3 replicas. The container should expose port 80 and have a resource limit of 200Mi memory. Which YAML configuration correctly defines this?
A Deployment with replicas: 3, containerPort: 80, and limits.memory: 200Mi in the resources section
A Deployment with replicas: 3, hostPort: 80, and requests.memory: 200Mi in the resources section
A ReplicaSet with replicas: 3, containerPort: 80, and limits.memory: 200Mi in the spec section
A Deployment with count: 3, port: 80, and memory: 200Mi at the container level