
Answer-first summary for fast verification
Answer: Reserve the IP 10.194.3.41 as a static internal IP address using gcloud and assign it to the licensing server.
**Correct Answer: C** - Reserving the IP 10.194.3.41 as a static internal IP address ensures the application can consistently reach the licensing server at the same IP, as internal IPs are ephemeral by default and can change after a VM restart. This meets the requirement without altering the app's configuration. **Incorrect Answers:** - **A**: Ephemeral IP addresses can change after a VM restart, risking connectivity. - **B**: 10.194.3.41 is an internal IP; reserving it as a public IP is unsuitable and may cause accessibility issues. - **D**: Promoting an ephemeral IP to static may require app configuration changes, which is against the requirement. **Note:** Static internal IP addresses can be reserved before resource creation or by promoting an ephemeral IP to static, provided a VPC network is in place for your project.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As the founder of a stock trading app serving millions, your app communicates with a licensing server at IP 10.194.3.41 to verify its authenticity. You're migrating the server to Compute Engine without changing the app's configuration, ensuring it can still reach the server at the same IP. What's the best approach?
A
Use the IP 10.194.3.41 as a custom ephemeral IP address and assign it to the licensing server.
B
Reserve the IP 10.194.3.41 as a static public IP address using gcloud and assign it to the licensing server.
C
Reserve the IP 10.194.3.41 as a static internal IP address using gcloud and assign it to the licensing server.
D
Use the licensing server with an automatic ephemeral IP address and then promote it to a static internal IP address.