Google Associate Cloud Engineer Question 94
Select 2Google Cloud PlatformYou are tasked with launching a new compute instance in Google Cloud Platform. The application that will run on this instance requires a specific version of a custom software package that is only available in a particular geographic region. Which of the following steps must you take to ensure the instance is launched in the correct region and with the appropriate software?
- A
A. Select the correct region in the Google Cloud Console when creating the instance.
- B
B. Choose a machine type that supports the custom software package.
- C
C. Use a startup script to install the custom software package after the instance launches.
- D
D. Upload the custom software package to a Cloud Storage bucket in the desired region.
- E
E. Select the correct network and subnet for the instance.
Show answer and explanation
Correct answers: A, C
Explanation
To ensure the compute instance is launched in the correct region and with the appropriate software, you must select the correct region during instance creation and utilize a startup script to install the custom software package. These steps ensure that the instance is geographically positioned to access the software and that the necessary version is installed automatically upon startup.
- A. Correct.
Selecting the correct region ensures that the instance is deployed in the geographic location where the custom software package is available.
- B. Incorrect.
While choosing the machine type is important, it does not directly affect the availability of the custom software package.
- C. Correct.
Using a startup script allows you to automatically install the custom software package after the instance launches, ensuring the correct version is installed.
- D. Incorrect.
Uploading the software package to a Cloud Storage bucket is not necessary if the package can be installed via a startup script.
- E. Incorrect.
Choosing the correct network and subnet is important for connectivity but does not affect the software installation process.