You are deploying an application on App Engine that needs to integrate with an on-premises database. For security purposes, your on-premises database must not be accessible through the public internet. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy your application on App Engine flexible environment and use Cloud VPN to limit access to the on-premises database..
Why this is the answer
The correct answer is to deploy your application on App Engine flexible environment and use Cloud VPN. App Engine standard environment instances cannot connect to resources in a VPC network, which is required for Cloud VPN or Cloud Interconnect. The flexible environment, however, runs within a Google Cloud project's VPC network, allowing it to establish secure, private connections to on-premises resources via Cloud VPN or Cloud Interconnect. App Engine firewall rules only control inbound traffic to your App Engine application, not outbound connections to an on-premises database. Therefore, Cloud VPN is necessary to create a secure tunnel for private communication between your App Engine flexible environment application and the on-premises database.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed