
Answer-first summary for fast verification
Answer: Set up the application using App Engine Flexible environment with Cloud VPN to connect to the database
The correct answer is **D** because Google App Engine Flexible environment supports Cloud VPN, which is necessary for connecting to an on-premises database. The App Engine Standard environment does not support Cloud VPN, making options A and C incorrect. Cloud Router is used for dynamic routing within Google Cloud, not for establishing VPN connections to on-premises data centers, which is why options B and D mentioning Cloud Router are incorrect. For detailed information, refer to the GCP documentation on [App Engine Flexible Network Settings](https://cloud.google.com/appengine/docs/flexible/python/network-settings) and [Advanced network configuration](https://cloud.google.com/vpc/docs/configure-private-google-access).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company is planning to migrate their web application to Google App Engine but intends to keep using their on-premises database. What is the best way to set up the application?
A
Set up the application using App Engine Standard environment with Cloud VPN to connect to the database
B
Set up the application using App Engine Flexible environment with Cloud Router to connect to the database
C
Set up the application using App Engine Standard environment with Cloud Router to connect to the database
D
Set up the application using App Engine Flexible environment with Cloud VPN to connect to the database
No comments yet.