
Answer-first summary for fast verification
Answer: `gcloud components list`
The correct answer is **B** because `gcloud components list` provides a comprehensive list of all available components in the Cloud SDK, including their installation status. This command is essential for identifying the correct component name for installation. - **Option A & C** are incorrect as they pertain to viewing and editing Cloud SDK properties, not listing components. - **Option D** is incorrect because it is not a valid command. For more details, refer to the GCP documentation on [Cloud SDK Components List](https://cloud.google.com/sdk/docs/components). This command not only lists the components but also provides information on their status, name, ID, and size. Additionally, using the `–show-versions` flag will display the installed and latest available versions of each component.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer needs assistance in installing the App Engine Go extensions, but you can't recall the exact name of the component. Which command would you use to display all available options?
A
gcloud config list
B
gcloud components list
C
gcloud config components list
D
gcloud component list
No comments yet.