Salesforce Certified Heroku Architecture Designer — Question 24

A client wants to create a scalable set of microservices that communicate with each other, where multiple microservices have a public REST API.
Which architecture strategy allows this on Heroku?

Answer options

Correct answer: C

Explanation

The correct answer is C, as having each microservice in a separate private space allows for better isolation and scalability, while DNS Service Discovery facilitates their communication effectively. Options A and B are less suitable because they either complicate the architecture or do not align with the requirement for a public REST API, and option D does not provide the necessary inter-process communication capabilities for microservices.