Question 141 of 506
Architecting low-code ML solutionsmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is that the training_data input must be a Vertex AI Dataset resource, not a simple string. This error occurs because Vertex AI Pipeline steps using a CustomJob expect the training data to be passed as a properly formatted Dataset resource object—such as projects/{project}/locations/{location}/datasets/{dataset_id}—rather than a raw string value. When a plain string is provided, the backend cannot resolve it into a valid resource name, triggering the "Invalid resource name" failure. On the Google Professional Machine Learning Engineer exam, this tests your understanding of how Vertex AI components enforce strict typing for pipeline inputs, a common trap where candidates mistakenly assume any string path will work. A key memory tip: think of Vertex AI Dataset resources as first-class objects with a specific resource name format—if you see "Invalid resource name," always check whether your input is a Dataset object, not just a file path or string.

PMLE Architecting low-code ML solutions Practice Question

This PMLE practice question tests your understanding of architecting low-code ml solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Network Topology
model_dir=$-training_data=$Refer to the exhibit.```- name: train_modeltask:containerSpec:imageUri: gcr.io/cloud-aiplatform/training/tf-cpu.2-8:latestargs:inputs:- name: model_dirvalue: /tmp/model- name: training_datavalue: projects/my-project/datasets/training_dataoutputs:- name: modelartifactSpec:schema: title: "model"uri: $(inputs.model_dir)resources:machineType: n1-standard-4

Refer to the exhibit. A data engineer is defining a Vertex AI Pipeline step to train a model. The pipeline fails with an error: "Failed to create vertex ai custom job: Invalid resource name." What is the most likely cause of the error?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →
Network Topology
model_dir=$-training_data=$Refer to the exhibit.```- name: train_modeltask:containerSpec:imageUri: gcr.io/cloud-aiplatform/training/tf-cpu.2-8:latestargs:inputs:- name: model_dirvalue: /tmp/model- name: training_datavalue: projects/my-project/datasets/training_dataoutputs:- name: modelartifactSpec:schema: title: "model"uri: $(inputs.model_dir)resources:machineType: n1-standard-4

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

The training_data input should be a Vertex AI Dataset resource, not a simple string.

Option C is correct because Vertex AI Pipeline steps that use a CustomJob to train a model require the training data input to be a Vertex AI Dataset resource (a Dataset object), not a plain string. When a string is passed instead of a Dataset resource, the pipeline attempts to create a custom job with an invalid resource name, as the backend expects a properly formatted Dataset resource name (e.g., projects/{project}/locations/{location}/datasets/{dataset_id}). This mismatch triggers the 'Invalid resource name' error.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • The container image URI is incorrect; it should be from gcr.io/vertex-ai/training.

    Why it's wrong here

    The URI is valid for Vertex AI training.

  • The output artifact schema is missing the 'type' property.

    Why it's wrong here

    Schema is not required and does not cause resource name errors.

  • The training_data input should be a Vertex AI Dataset resource, not a simple string.

    Why this is correct

    The input expects a dataset resource name, not a raw string.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The machine type n1-standard-4 is not supported for Vertex AI training.

    Why it's wrong here

    It is a supported machine type.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between raw data inputs (like strings or URIs) and managed Vertex AI resources (like Datasets), leading candidates to overlook that the pipeline component expects a resource object, not a simple string.

Detailed technical explanation

How to think about this question

Under the hood, Vertex AI Pipelines uses the 'google_cloud_pipeline_components' library, where the 'CustomContainerTrainingJobRunOp' component expects the 'dataset' input to be a Vertex AI Dataset resource object. When a string is provided, the component tries to construct a resource name by concatenating the string with the project and location, leading to an invalid name like 'projects/my-project/locations/us-central1/datasets/my-dataset-string' if the string is not a valid dataset ID. In real-world scenarios, this often happens when engineers mistakenly pass a file path or a GCS URI as the dataset input, not realizing that Vertex AI requires a pre-created Dataset resource for training jobs.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PMLE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PMLE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PMLE question test?

Architecting low-code ML solutions — This question tests Architecting low-code ML solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The training_data input should be a Vertex AI Dataset resource, not a simple string. — Option C is correct because Vertex AI Pipeline steps that use a CustomJob to train a model require the training data input to be a Vertex AI Dataset resource (a Dataset object), not a plain string. When a string is passed instead of a Dataset resource, the pipeline attempts to create a custom job with an invalid resource name, as the backend expects a properly formatted Dataset resource name (e.g., projects/{project}/locations/{location}/datasets/{dataset_id}). This mismatch triggers the 'Invalid resource name' error.

What should I do if I get this PMLE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PMLE 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 PMLE exam.