exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 271 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 271
Topic #: 1
[All Professional Machine Learning Engineer Questions]

You recently created a new Google Cloud project. After testing that you can submit a Vertex AI Pipeline job from the Cloud Shell, you want to use a Vertex AI Workbench user-managed notebook instance to run your code from that instance. You created the instance and ran the code but this time the job fails with an insufficient permissions error. What should you do?

  • A. Ensure that the Workbench instance that you created is in the same region of the Vertex AI Pipelines resources you will use.
  • B. Ensure that the Vertex AI Workbench instance is on the same subnetwork of the Vertex AI Pipeline resources that you will use.
  • C. Ensure that the Vertex AI Workbench instance is assigned the Identity and Access Management (IAM) Vertex AI User role.
  • D. Ensure that the Vertex AI Workbench instance is assigned the Identity and Access Management (IAM) Notebooks Runner role.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bobjr
4 months, 4 weeks ago
Selected Answer: C
The job fails, not the access to notebook
upvoted 2 times
...
fitri001
6 months, 2 weeks ago
Selected Answer: C
Vertex AI has its own set of specific roles that control access to resources within the Vertex AI platform itself, such as datasets, models, and endpoints. The Vertex AI Notebook Runner falls under this category
upvoted 3 times
...
omermahgoub
6 months, 2 weeks ago
Selected Answer: C
The insufficient permissions error suggests your instance lacks the required authorization to access Vertex AI Pipelines resources.
upvoted 3 times
...
Yan_X
7 months, 3 weeks ago
Selected Answer: C
The question is asking 'submit a Vertex AI Pipeline job', so not just simply run notebooks on Vertex AI Workbench. The role required should be 'IAM Vertex AI User role'. So it is C.
upvoted 2 times
...
daidai75
9 months ago
Selected Answer: D
I have done the test, it is D
upvoted 1 times
...
b1a8fae
9 months, 1 week ago
Selected Answer: C
I decided to change my mind to C after realizing we need the permissions aiplatform.pipelineJobs, present in vertex AI user. Not sure if the notebook runner role allows to run notebook from pipeline jobs + its specified that it only is allowed to run scheduled notebooks (no mention of scheduling here anywhere)
upvoted 3 times
...
b1a8fae
9 months, 1 week ago
Selected Answer: D
I say D. You want to run the code, that's your purpose, and you have insufficient permissions, so all the permissions you need to solve this problem is: being able to run the notebook. Plus, what is a "AI user role"? It is not a predefined role according to the docs: https://cloud.google.com/vertex-ai/docs/workbench/user-managed/iam#iam_roles
upvoted 1 times
b1a8fae
9 months, 1 week ago
Apparently "Vertex AI user role" is indeed a thing. I just did not see this link: https://cloud.google.com/vertex-ai/docs/general/access-control#predefined-roles. My point remains: not being able to run the code seems to be the inconvenient here.
upvoted 1 times
...
...
pikachu007
9 months, 3 weeks ago
Selected Answer: C
A. Region Compatibility: While regional compatibility is important, it's not the primary cause of this permission error. B. Subnet Matching: Subnet alignment is usually not a requirement for Vertex AI pipeline job submission. D. Notebooks Runner Role: This role is primarily for executing notebook code, not managing Vertex AI resources.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago