
Ultimate access to all questions.
You are developing an application using different microservices on Google Kubernetes Engine (GKE). These microservices should remain internal to the cluster for security and performance reasons. Each microservice needs to be configured with a specific number of replicas to ensure availability and scalability. Additionally, it is essential that one microservice can address any other microservice in a uniform manner, regardless of how many replicas the target microservice has scaled to. How should you configure your microservices to meet these requirements?
A
Deploy each microservice as a Deployment. Expose the Deployment in the cluster using a Service, and use the Service DNS name to address it from other microservices within the cluster.
B
Deploy each microservice as a Deployment. Expose the Deployment in the cluster using an Ingress, and use the Ingress IP address to address the Deployment from other microservices within the cluster.
C
Deploy each microservice as a Pod. Expose the Pod in the cluster using a Service, and use the Service DNS name to address the microservice from other microservices within the cluster.
D
Deploy each microservice as a Pod. Expose the Pod in the cluster using an Ingress, and use the Ingress IP address name to address the Pod from other microservices within the cluster.