
Google Professional Cloud Developer
Get started today
Ultimate access to all questions.
You're developing a web application using Cloud Run and Cloud Storage. A production issue arises that requires immediate troubleshooting. The workaround involves executing a script from a Git repository. Your corporate laptop is unavailable, but you can access the Git repository and Google Cloud resources using your corporate credentials from your personal computer. How can you resolve the issue quickly and efficiently while minimizing additional costs?
You're developing a web application using Cloud Run and Cloud Storage. A production issue arises that requires immediate troubleshooting. The workaround involves executing a script from a Git repository. Your corporate laptop is unavailable, but you can access the Git repository and Google Cloud resources using your corporate credentials from your personal computer. How can you resolve the issue quickly and efficiently while minimizing additional costs?
Explanation:
Option C is the most efficient and cost-effective solution. Cloud Shell provides a pre-configured, browser-based environment with the gcloud CLI and other tools already installed. It requires no setup on the personal computer, allowing immediate access to clone the Git repository, execute the script, and verify the fix. This avoids delays from installing software (as in D or B) or provisioning resources (as in A), while keeping costs minimal since Cloud Shell usage is free within limits. Options A, B, and D involve additional setup time or potential costs, making C the optimal choice.