A contractor needs to run gcloud commands and edit a small config file from a locked-down laptop that cannot install software. What fits?
- Exam domain
- Managing implementation~12.5% of the exam
- Difficulty
- Easy
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
Interacting with Google Cloud programmatically.
Objective in the exam guide: Cloud Shell Editor, Cloud Code, and Cloud Shell Terminal.
Architects advise on developer tooling.
Why C is the answer
Cloud Shell, with Cloud Shell Editor, in the browser
Cloud Shell gives a browser terminal with tools preinstalled and 5 GB of persistent home storage; Cloud Shell Editor edits files in the browser.
How it works
Cloud Shell provides a browser-based terminal on a VM.
It has tools and languages preinstalled and 5 GB of persistent home storage.
Cloud Shell Editor offers an in-browser code editor.
Clues in the question
The words that point to the answer, and what each one tells you.
- Cannot install software
- Browser-based tools.
In detail
- Cloud Shell runs as the signed-in user.
- Cloud Code extensions support development in the editor.
Side by side with look-alikes
| Option | Works with no install, securely? |
|---|---|
| Cloud Shell and Editor | Yes |
| SDK on phone | No |
| Admin runs commands | Slow |
| Emailed key | Unsafe |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Ask an admin to run every commandWrong
An admin bottleneck slows work.
B. Use a shared service account key from emailWrongMost tempting
Emailed keys are a serious risk.
Why it tempts: It grants access. But it leaks a long-lived credential.
C. Cloud Shell, with Cloud Shell Editor, in the browserRight
Cloud Shell gives a browser terminal with tools preinstalled and 5 GB of persistent home storage; Cloud Shell Editor edits files in the browser.
D. Install the SDK on a personal phoneWrong
Personal devices break policy.
In practice
- Keep scripts in a repository, not only in the Cloud Shell home directory.