Flashcardsfor IT Certifications

D3: Viewing & Filtering Logs

Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards

Question
Where do you view logs?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Viewing & Filtering Logs practice questions and answers
  1. Where do you view logs?
    Logs Explorer in Cloud Logging.
  2. Example query for VM errors?
    resource.type="gce_instance" AND severity>=ERROR.
  3. How do you read logs with gcloud?
    gcloud logging read 'FILTER' --limit=N.
  4. Common log entry fields?
    logName, resource, severity, timestamp, textPayload/jsonPayload/protoPayload, labels.
  5. How do you see a log entry's full details?
    Expand the entry in Logs Explorer to view all fields.
  6. How do you filter by a specific field value?
    Click the field value and choose show matching entries, or add it to the query.
  7. What does the histogram show?
    Log volume over time, helping spot spikes.
  8. How do you see surrounding logs?
    Use 'show entries nearby' / view in context.
  9. How do you save queries?
    Save them in Logs Explorer for reuse.
  10. Severity levels?
    DEFAULT, DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY.
  11. How do you find who changed a resource?
    Filter Admin Activity audit logs and check protoPayload.authenticationInfo.principalEmail.