Courseiva
mediumMultiple Choice

PMLE Explanation metadata Practice Question

Exhibit

Refer to the exhibit.

```yaml
deploymentResourcePool: projects/my-project/locations/us-central1/deploymentResourcePools/my-pool
disableContainerLogging: false
enableAccessLogging: true
explanationSpec:
  parameters:
    examples:
      exampleGcsSource:
        dataFormat: jsonl
        gcsSource:
          uris:
          - gs://my-bucket/examples/*.jsonl
        neighborCount: 10
      neighborCount: 10
      presampling: true
  metadata:
    inputs:
      input:
        inputTensor: input
        modality: numeric
        name: input
    outputs:
      output:
        outputTensor: output
        modality: numeric
        name: output
machineSpec:
  machineType: n1-standard-2
  acceleratorCount: 1
  acceleratorType: NVIDIA_TESLA_T4
minReplicaCount: 1
maxReplicaCount: 3
model: projects/my-project/locations/us-central1/models/123
trafficSplit:
  '0': 100
```

Refer to the exhibit. A machine learning engineer deployed a model on Vertex AI using this configuration. When testing the endpoint, the engineer receives a 400 error with the message: 'Invalid argument: Explanation metadata missing required field: `outputs`.' What is the most likely cause?

⚠ Common exam trap

Candidates often focus on the subfields like displayName, but the error indicates the top-level outputs field is missing.

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 explanation metadata outputs field is missing the required 'displayName' attribute.

The error message 'Invalid argument: Explanation metadata missing required field: `outputs`' indicates that the `outputs` field is entirely absent from the explanation metadata configuration. None of the provided options correctly identifies this issue. Option A incorrectly attributes the error to a missing 'displayName' attribute within an existing outputs field, which is not the cause.

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 explanation metadata outputs field is missing the required 'displayName' attribute.

    Why this is correct

    Incorrect. The error is about missing outputs field, not just missing displayName.

  • ✗

    The explanation metadata needs a 'baseline' configuration for the input.

    Why it's wrong here

    Incorrect. Missing baseline is a different error.

  • ✗

    The explanation metadata inputs field should be wrapped inside a 'visualization' block.

    Why it's wrong here

    Incorrect. Visualization block is not relevant.

  • ✗

    The explainability method chosen is not supported for the model type.

    Why it's wrong here

    Incorrect. Unsupported method would give a different error.

About these practice questions

Courseiva writes every PMLE question from scratch — 775 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.