Question 1easymultiple choice
Read the full NAT/PAT explanation →Generative AI Leader Fundamentals of Generative AI • Complete Question Bank
Complete Generative AI Leader Fundamentals of Generative AI question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. ``` error: Vertex AI Model Registry: Model 'projects/my-project/locations/us-central1/models/123' has status 'DEPLOYING'. Cannot deploy a model that is not in 'READY' state. ```
Refer to the exhibit.
```
{
"predictions": [
{
"content": "The patient's diagnosis is likely influenza, but further tests are needed.",
"safetyAttributes": {
"scores": [0.01],
"blocked": false,
"categories": ["health"]
}
}
],
"deployedModelId": "123",
"model": "projects/my-project/locations/us-central1/models/456"
}
```{
"bindings": [
{
"role": "roles/aiplatform.user",
"members": ["user:test@example.com"]
},
{
"role": "roles/aiplatform.admin",
"members": ["serviceAccount:sa@project.iam.gserviceaccount.com"]
}
]
}Error: 403 Permission 'aiplatform.endpoints.predict' denied on resource 'projects/my-project/locations/us-central1/endpoints/my-endpoint'.
{
"bindings": [
{
"role": "roles/aiplatform.user",
"members": [
"user:user@example.com"
]
}
]
}ERROR: (gcloud.aiplatform.models.upload) PERMISSION_DENIED: Permission 'aiplatform.models.upload' denied on resource project my-project
model:
name: "projects/my-project/locations/us-central1/models/1234"
explanation_spec:
metadata:
inputs:
my_input:
input_tensor_name: "input"
modality: "text"Error: Root model provided is not a valid model reference. Please provide a model reference in the format of "projects/{project}/locations/{location}/models/{model}" or "projects/{project}/locations/{location}/models/{model}:{version}".{
"bindings": [
{
"role": "roles/aiplatform.user",
"members": ["user:alice@example.com"]
},
{
"role": "roles/aiplatform.customCodeModelAdmin",
"members": ["user:bob@example.com"]
}
]
}apiVersion: aiplatform/v1
kind: Model
metadata:
name: my-model
spec:
baseModel: "publishers/google/models/gemini-1.5-pro"
tuningPipeline:
...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 ```
Refer to the exhibit.
```
{
"bindings": [
{
"role": "roles/aiplatform.user",
"members": ["user:alice@example.com"]
},
{
"role": "roles/aiplatform.admin",
"members": ["user:bob@example.com"]
}
]
}
```Refer to the exhibit. ``` INFO: Training started. INFO: Epoch 1/10 - loss: 2.3456 - accuracy: 0.1234 INFO: Epoch 2/10 - loss: 1.9876 - accuracy: 0.2345 INFO: Epoch 3/10 - loss: 1.6543 - accuracy: 0.3456 INFO: Epoch 4/10 - loss: 1.4321 - accuracy: 0.4567 INFO: Epoch 5/10 - loss: 1.2345 - accuracy: 0.5678 INFO: Epoch 6/10 - loss: 1.0987 - accuracy: 0.6789 INFO: Epoch 7/10 - loss: 0.9876 - accuracy: 0.7890 INFO: Epoch 8/10 - loss: 0.8765 - accuracy: 0.8901 INFO: Epoch 9/10 - loss: 0.7654 - accuracy: 0.9012 INFO: Epoch 10/10 - loss: 0.6543 - accuracy: 0.9123 ```
Refer to the exhibit.
```
$ gcloud ai endpoints predict 789 --region=us-central1 --json-request='{"instances":[{"content":"What is the capital of France?"}]}'
{
"error": "Model does not support the given instance format."
}
```