Back to Google Cloud Generative AI Leader Generative AI Leader questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Google Cloud Generative AI Leader Generative AI Leader practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
Generative AI Leader
exam code
Google Cloud
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related Generative AI Leader topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Refer to the exhibit. A user with this IAM role tries to deploy a model to a Vertex AI Endpoint but fails. What is the most likely reason?

Exhibit

{
  "bindings": [
    {
      "role": "roles/aiplatform.user",
      "members": [
        "user:user@example.com"
      ]
    }
  ]
}
Question 2easymultiple choice
Full question →

Refer to the exhibit. A developer sees this error when trying to call a Vertex AI endpoint for online prediction. What permission does the requesting identity need to be granted?

Exhibit

Error: 403 Permission 'aiplatform.endpoints.predict' denied on resource 'projects/my-project/locations/us-central1/endpoints/my-endpoint'.
Question 3hardmultiple choice
Full question →

Refer to the exhibit. An administrator creates this IAM policy for a Vertex AI project. What is the effect of this policy?

Exhibit

{
  "bindings": [
    {
      "role": "roles/aiplatform.user",
      "members": ["user:alice@example.com"]
    },
    {
      "role": "roles/aiplatform.customCodeModelAdmin",
      "members": ["user:bob@example.com"]
    }
  ]
}
Question 4hardmultiple choice
Full question →

Refer to the exhibit. This JSON describes a Vertex AI endpoint with a deployed model. Which statement about scaling is true?

Exhibit

{
  "name": "projects/my-project/locations/us-central1/endpoints/123456",
  "displayName": "my-endpoint",
  "deployedModels": [
    {
      "id": "789",
      "model": "projects/my-project/locations/us-central1/models/456",
      "dedicatedResources": {
        "machineSpec": {
          "machineType": "n1-standard-2",
          "acceleratorType": "NVIDIA_TESLA_T4",
          "acceleratorCount": 1
        },
        "minReplicaCount": 1,
        "maxReplicaCount": 3
      },
      "automaticResources": null
    }
  ]
}
Question 5easymultiple choice
Full question →

Refer to the exhibit. What is the most likely cause of this error?

Exhibit

ERROR: (gcloud.aiplatform.models.upload) PERMISSION_DENIED: Permission 'aiplatform.models.upload' denied on resource project my-project
Question 6easymultiple choice
Full question →

Refer to the exhibit. A developer runs this command but forgets to specify the model name. What will happen?

Network Topology
gcloud ai models uploadcontainer-image-uri=us-docker.pkg.dev/vertex-ai/prediction/tf2-cpu.2-12:latest
Question 7mediummultiple choice
Full question →

Refer to the exhibit. A developer creates a model resource with this YAML config but gets an error that the model is not deployable. What is missing?

Exhibit

model:
  name: "projects/my-project/locations/us-central1/models/1234"
  explanation_spec:
    metadata:
      inputs:
        my_input:
          input_tensor_name: "input"
          modality: "text"
Question 8easymultiple choice
Full question →

Refer to the exhibit. A machine learning engineer is configuring a model using this YAML. What is the purpose of the 'tuningPipeline' field?

Exhibit

apiVersion: aiplatform/v1
kind: Model
metadata:
  name: my-model
spec:
  baseModel: "publishers/google/models/gemini-1.5-pro"
  tuningPipeline:
    ...
Question 9mediummultiple choice
Full question →

Refer to the exhibit. A developer executed the command to list endpoints. They notice that two models are deployed to the same endpoint. What is the most likely reason for this configuration?

Network Topology
gcloud ai endpoints listregion=us-central1Output:ENDPOINT_ID: 123456DISPLAY_NAME: my-endpointMODEL: projects/123/locations/us-central1/models/789DEPLOYED_MODELS:MACHINE_TYPE: n1-standard-2ACCELERATOR_TYPE: NVIDIA_TESLA_T4
Question 10hardmultiple choice
Full question →

Refer to the exhibit. The team changed the generation parameters to reduce output variability. However, summaries now often repeat the same phrases. Which parameter change is most likely causing the repetition?

Exhibit

Refer to the exhibit.

```
# Model configuration before change
model = GenerativeModel("text-bison@002")
response = model.generate(
    prompt="Summarize the following article: ...",
    temperature=0.7,
    top_k=40,
    top_p=0.95
)
# After change
model = GenerativeModel("text-bison@002")
response = model.generate(
    prompt="Summarize the following article: ...",
    temperature=0.2,
    top_k=10,
    top_p=0.85
)
```
Question 11easymultiple choice
Full question →

Refer to the exhibit. What access does the IAM policy grant to developer@example.com?

Exhibit

{
  "bindings": [
    {
      "role": "roles/aiplatform.user",
      "members": ["user:developer@example.com"]
    }
  ],
  "etag": "BwWl3Z8="
}
Question 12easymultiple choice
Full question →

Refer to the exhibit. A user receives this error when trying to get predictions from a Vertex AI endpoint. What is the most likely cause?

Exhibit

ERROR: (gcloud.ai.platform.predict) PERMISSION_DENIED: Permission 'aiplatform.endpoints.predict' denied on resource 'projects/my-project/locations/us-central1/endpoints/123456' (or resource may not exist).
Question 13mediummultiple choice
Full question →

Refer to the exhibit. A team has deployed a model to an endpoint with the configuration shown. They notice that during peak traffic, the endpoint frequently returns 429 (Too Many Requests) errors. Which action should they take to resolve this issue?

Exhibit

Refer to the exhibit.
```
$ gcloud ai endpoints list --region=us-central1
ENDPOINT_ID: 123456789
DISPLAY_NAME: my-endpoint
MODEL: projects/my-project/locations/us-central1/models/987654321
DEPLOYED_MODELS: projects/my-project/locations/us-central1/models/987654321@1
MACHINE_TYPE: n1-standard-2
MIN_REPLICA_COUNT: 1
MAX_REPLICA_COUNT: 5
```
Question 14hardmultiple choice
Full question →

Refer to the exhibit. This IAM policy is applied to a Vertex AI project. A user 'test@example.com' reports they cannot create a ModelEvaluationPipelineJob. Which action should the administrator take?

Exhibit

{
  "bindings": [
    {
      "role": "roles/aiplatform.user",
      "members": ["user:test@example.com"]
    },
    {
      "role": "roles/aiplatform.admin",
      "members": ["serviceAccount:sa@project.iam.gserviceaccount.com"]
    }
  ]
}
Question 15mediummultiple choice
Full question →

Refer to the exhibit. You ran the gcloud command to list a model, but received this error. What is the most likely issue?

Network Topology
gcloud ai models listfilter='name:my_model'Output:

These Generative AI Leader practice questions are part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style Generative AI Leader questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.