Deploying Licensing Server on Compute Engine: A Solution for Application Configuration | Google ACE Exam

Deploying Licensing Server on Compute Engine

Question

You have an application that looks for its licensing server on the IP 10.0.3.21

You need to deploy the licensing server on Compute Engine.

You do not want to change the configuration of the application and want the application to be able to reach the licensing server.

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

The correct answer is A. Reserve the IP 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server.

Explanation:

In this scenario, the application looks for its licensing server on the IP address 10.0.3.21. To deploy the licensing server on Compute Engine, we need to make sure that the application can still find it without any changes to the application configuration.

Option A is the correct answer because we can reserve the IP address 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server. A static internal IP address is an IP address that does not change and is only accessible within the same virtual network. By reserving this IP address, we can ensure that the licensing server always has the same IP address and can be easily found by the application.

Option B is not the correct answer because a static public IP address is accessible from the internet, and in this scenario, we do not want the licensing server to be accessible from the internet. It is also not necessary since the application is running on the same virtual network.

Option C is not the correct answer because a custom ephemeral IP address is not a static IP address, and it can change when the instance is restarted. It would be difficult for the application to find the licensing server if its IP address keeps changing.

Option D is not the correct answer because promoting an ephemeral IP address to a static internal IP address still requires changes to the application configuration. Additionally, we want to avoid using ephemeral IP addresses in this scenario because they can change when the instance is restarted, which would make it difficult for the application to find the licensing server.

In summary, we should reserve the IP address 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server to ensure that the application can find the licensing server without any changes to the application configuration.