Courseiva
Data Pipeline OrchestrationmediumMultiple ChoiceObjective-mapped

GCP-ADP Data Pipeline Orchestration Practice Question

You need to pass a JSON object into a Workflows execution. How should you format the argument in the 'gcloud workflows executions' command?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use the --data flag with a JSON string.

The '--data' flag accepts a JSON string, which is the standard format for passing parameters to workflows.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use the --data flag with a JSON string.

    Why this is correct

    The --data flag is the correct way to pass inputs.

  • Pipe the JSON into the stdin of the command.

    Why it's wrong here

    Standard workflow CLI usage expects a flag parameter.

  • Use the --env-vars flag.

    Why it's wrong here

    Env vars are for system-level configuration, not execution inputs.

  • Upload the JSON to a GCS bucket and point to it.

    Why it's wrong here

    This adds unnecessary complexity.

About these practice questions

One of 205 original GCP-ADP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Google Cloud exam blueprint

This GCP-ADP practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCP-ADP exam.