🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 53 minutes remaining!

GCP Associate Cloud Engineer Practice Question

Your data engineering team manages a streaming Dataflow pipeline that should run 24/7 in the us-central1 region. A Cloud Function executed by a service account must run a gcloud command to obtain the job's current lifecycle state (for example RUNNING, FAILED, DONE) so it can decide whether to alert on failures. The script must be read-only and must not modify the job. Which gcloud command satisfies this requirement?

  • gcloud dataflow jobs list --region=us-central1 --filter="id=$JOB_ID" --format='value(state)'

  • gcloud dataflow operations describe $JOB_ID --region=us-central1

  • gcloud dataflow jobs update $JOB_ID --region=us-central1 --enable_monitoring

  • gcloud dataflow jobs describe $JOB_ID --region=us-central1 --format='value(currentState)'

GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot