Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Architect (PR000213) Exam - Topic 4 Question 53 Discussion

You are developing an application using different microservices that should remain internal to the cluster. You want to be able to configure each microservice with a specific number of replicas. You also want to be able to address a specific microservice from any other microservice in a uniform way, regardless of the number of replicas the microservice scales to. You need to implement this solution on Google Kubernetes Engine. What should you do?
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.

Google Professional Cloud Architect (PR000213) Exam - Topic 4 Question 53 Discussion

Actual exam question for Google's Professional Cloud Architect (PR000213) exam
Question #: 53
Topic #: 4
[All Professional Cloud Architect (PR000213) Questions]

You are developing an application using different microservices that should remain internal to the cluster. You want to be able to configure each microservice with a specific number of replicas. You also want to be able to address a specific microservice from any other microservice in a uniform way, regardless of the number of replicas the microservice scales to. You need to implement this solution on Google Kubernetes Engine. What should you do?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Amalia
10 months ago
I thought Ingress was only for external traffic. Is that right?
upvoted 0 times
...
Yong
10 months ago
Deploying as Pods? No thanks, stick with Deployments!
upvoted 0 times
...
Mabel
10 months ago
Wait, why would you use Ingress for internal communication? Seems off.
upvoted 0 times
...
Providencia
11 months ago
I agree, using Service DNS is the best practice here.
upvoted 0 times
...
Jannette
11 months ago
A is definitely the way to go! Services are perfect for this.
upvoted 0 times
...
Tran
11 months ago
I vaguely recall that Ingress is more for external traffic, so maybe we should stick with Services for internal communication?
upvoted 0 times
...
Maurine
11 months ago
I feel like using Pods directly might not be the best choice since they don't handle scaling as well as Deployments do.
upvoted 0 times
...
Aleisha
11 months ago
I remember practicing a similar question where we used Service DNS names to address microservices. That seems like the right approach here too.
upvoted 0 times
...
Corinne
11 months ago
I think we should definitely use Deployments for each microservice, but I'm not sure if it's better to use a Service or Ingress for internal communication.
upvoted 0 times
...
Kirk
11 months ago
I'm a little confused by this question. I know encryption and digital signatures are security mechanisms, but I'm not sure if the others fit that category. I'll have to review my notes and think this through before answering.
upvoted 0 times
...
Olga
11 months ago
I'm pretty confident that the correct answer is B. Configuring one Node Manager per machine with any number of WebLogic instances makes the most sense.
upvoted 0 times
...

Save Cancel