Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Question: 1 / 50

How can you find the log directory location for gcloud logs without using advanced script skills?

google logs

gcloud info

The correct approach to find the log directory location for gcloud logs is by using the command `gcloud info`. When you run this command, it provides a wealth of information about your gcloud configuration, including paths to various log files, user settings, and credentials. This makes it an accessible option even for those who may not have advanced scripting skills. The other choices do not provide the necessary information directly related to finding the log directory. While "google logs" and "gcloud logging" may seem relevant, they do not yield the specific directory information in a straightforward way without additional commands. Similarly, using just "gcloud" alone won't provide the detailed info one gets with "gcloud info." Thus, the most direct and user-friendly choice for obtaining the log directory location is indeed `gcloud info`.

gcloud logging

gcloud

Next

Report this question