You are working in a highly secured environment where public Internet access from the Compute Engine VMs is not allowed. You do not yet have a VPN connection to access an on-premises file server. You need to install specific software on a Compute Engine instance. How should you install the software?
Choose an answer
Tap an option to check your answer.
Correct answer: Upload the required installation files to Cloud Storage. Configure the VM on a subnet with a Private Google Access subnet. Assign only an internal IP address to the VM. Download the installation files to the VM using gsutil..
Why this is the answer
The correct answer allows the VM to access Google services like Cloud Storage without public internet access, fulfilling the security requirement. Private Google Access enables VMs with only internal IP addresses to reach Google APIs and services. Uploading the files to Cloud Storage makes them accessible via gsutil. The incorrect options are flawed because: Uploading to Cloud Storage and blocking all traffic except Cloud Storage IPs still implies the VM has an external IP or public internet access, which is disallowed. Cloud Source Repositories are typically for code, not general installation files, and gcloud is a CLI tool, not a download utility for repository contents in this context. Uploading to Cloud Source Repositories and blocking traffic except for its IP range faces the same public access issue as the second option, and gsutil is for Cloud Storage, not Cloud Source Repositories.
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