
Google Associate Cloud Engineer
Get started today
Ultimate access to all questions.
You're migrating an on-premises application to Google Cloud. The application uses a component that requires a licensing server with the IP address 10.28.0.10. You aim to deploy the application without altering the code or configuration. What is the best approach to deploy the application?
You're migrating an on-premises application to Google Cloud. The application uses a component that requires a licensing server with the IP address 10.28.0.10. You aim to deploy the application without altering the code or configuration. What is the best approach to deploy the application?
Explanation:
The correct answer is B because the IP address in question is internal and must be reserved as a static internal IP address. This action prevents the address from being dynamically allocated to other resources. Static internal IPs are reserved from the private RFC 1918 IP range configured in the subnet and assigned to resources as needed, ensuring the same IP address can be used for the same resource even after deletion and recreation. Options A and D are incorrect as the IP address is an RFC 1918 address, requiring it to be an internal static IP. Option C is incorrect because ephemeral internal IP addresses are released back into the network pool when the VM instance is stopped and restarted or terminated, making them unsuitable for this scenario.