You need to create a Compute Engine instance in a new project that doesn't exist yet. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Using the Cloud SDK, create the new project, enable the Compute Engine API in that project, then create the instance specifying the new project..
Why this is the answer
The correct approach involves a logical sequence of steps. First, a project must exist before any resources can be provisioned within it. Therefore, creating the new project is the initial step. Second, each Google Cloud service, like Compute Engine, requires its API to be explicitly enabled within a project before it can be used. After the API is enabled, you can then proceed to create the Compute Engine instance, ensuring you specify the newly created project. Incorrect options: You cannot create a project simply by specifying it in the --project flag when creating an instance; projects must be created separately. While the Cloud Console allows API enablement, it does not offer an option to create a new project directly from the instance creation form, nor can you create a new project by just specifying it in a command-line flag. Accepting prompts to enable the Compute Engine API during instance creation in a non-existent project is not a valid workflow; the project must exist first.
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