You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute
Engine instance using the CLI. You need to perform the prerequisite steps. What should you do?
Suggested Answer: B
Get Premium Associate Cloud Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
39 comments · newest first
MI
Mitsue
11 months ago
Agreed, enabling the API is crucial before anything else.
PA
Pansy
11 months ago
Surprised that enabling the API isn't the first thing mentioned!
MA
Marion
11 months ago
Granting IAM roles is a must, but is it really the first step?
LE
Lenny
11 months ago
I think creating a VPC network is also important!
GA
Gayla
12 months ago
You definitely need to enable the compute googleapis.com API first.
CA
Caitlin
12 months ago
I’m leaning towards option C, but I also wonder if we need to do anything with the Cloud Monitoring Workspace first.
SU
Sunshine
1 year ago
I feel like creating a VPC network is something we did in our labs, but I can't recall if it's strictly necessary for just creating an instance.
CO
Colette
1 year ago
I remember practicing a similar question where we had to set up IAM roles, so granting myself the Compute Admin role might also be important.
AN
Antonio
1 year ago
I think enabling the compute googleapis.com API is definitely a prerequisite, but I'm not entirely sure if it's the only one needed.
LO
Lorrine
1 year ago
I'm a little confused here. I'm not sure if creating a VPC network or granting the Compute Admin role are required before creating the Compute Engine instance. I'll have to review the Google Cloud documentation to make sure I understand the correct steps.
DE
Devora
1 year ago
Okay, I've got this. The prerequisite steps are to enable the Compute Engine API, which is option C. Creating a VPC network or Cloud Monitoring Workspace aren't necessary for this task.
AR
Arminda
1 year ago
Hmm, I'm a bit unsure about this one. I know we need to do some setup before creating the Compute Engine instance, but I'm not sure if creating a VPC network or granting the Compute Admin role are required first. I'll have to think this through carefully.
DO
Dominque
1 year ago
This seems pretty straightforward. I think the key is to enable the Compute Engine API, which is option C.
MO
Mohammad
1 year ago
I'm just going to go with C. Enabling the API sounds like the most logical first step. Although, a VPC network does seem pretty important too...hmm.
NI
Nilsa
1 year ago
I'd choose C and D. Enabling the API and having the right role seem like the two most important things to get done first.
YU
Yuette
1 year ago
A? Really? That's for monitoring, not actually creating the instance. What is this, a trick question or something?
KE
Kelvin
1 year ago
D) Grant yourself the IAM role of Compute Admin.
BE
Bernardo
1 year ago
C) Enable the compute googleapis.com API.
CA
Cary
1 year ago
B) Create a VPC network in the project.
MA
Margurite
1 year ago
B is the way to go. You need a VPC network set up before you can launch a Compute Engine instance. Kinda like you need a house before you can move in, right?
NI
Nilsa
1 year ago
D) Grant yourself the IAM role of Compute Admin.
DA
Danica
1 year ago
C) Enable the compute googleapis.com API.
PE
Pedro
1 year ago
B) Create a VPC network in the project.
DA
Davida
1 year ago
I'd go with D. Gotta make sure you have the right IAM role to create the instance. No point trying to create it without the proper permissions.
PA
Pansy
1 year ago
D is the way to go. Make sure you have the right permissions before creating the instance.
ME
Mee
1 year ago
Definitely go with D. Can't create the instance without the proper IAM role.
FR
Freeman
1 year ago
Yeah, D sounds like the right choice. You need the Compute Admin role.
JO
Josphine
1 year ago
I'd go with D. Gotta make sure you have the right IAM role to create the instance. No point trying to create it without the proper permissions.
AL
Alida
1 year ago
D) Grant yourself the IAM role of Compute Admin.
KI
King
1 year ago
C) Enable the compute googleapis.com API.
FR
France
1 year ago
B) Create a VPC network in the project.
DE
Deandrea
1 year ago
A) Create a Cloud Monitoring Workspace.
FR
Franchesca
1 year ago
I think you should go with D. That way you have the right permissions.
LA
Lavonda
2 years ago
Definitely C. Enabling the Compute API is a crucial step before creating a Compute Engine instance. Can't create it without the API being enabled first!
CA
Carli
1 year ago
D) Grant yourself the IAM role of Compute Admin.
CH
Chandra
1 year ago
C) Enable the compute googleapis.com API.
RE
Reyes
2 years ago
After enabling the API, we should also create a VPC network in the project for networking.
DA
Daisy
2 years ago
I agree with Zoila. Enabling the API is a prerequisite for creating a Compute Engine instance.
ZO
Zoila
2 years ago
I think we should enable the compute googleapis.com API first.