Your Python script throws a ResourceNotFoundError when trying to access a Thread. What is the most common reason?
check_circle
Correct AnswerD
A ResourceNotFoundError specifically means the unique ID provided does not exist in the current project scope.
Question 222
What does it mean to "Ground" a prompt?
check_circle
Correct AnswerC
Grounding ensures the model bases its answers on verified data rather than its own internal (and potentially outdated) training data.
Question 223
You notice that your "Indexers" are consistently failing with "Could not extract content." What is the first thing to check?
check_circle
Correct AnswerB
If the indexer cannot read the files, it is usually a credential or network issue between Search and the Storage datasource.
Question 224
You need to compare two different images of a product to identify manufacturing defects. Which prompting technique is most effective?
check_circle
Correct AnswerC
GPT-4o can accept an array of images in a single request, allowing it to perform side-by-side comparisons and contrastive analysis.
Question 225
You want to restrict access to your AI Foundry Project so only employees in the "Data Science" Entra ID group can access it. Where do you configure this?
check_circle
Correct AnswerD
RBAC assignments in the IAM tab at the Project or Resource Group level control which users/groups can access the tools.
Question 226
You see a "429 Too Many Requests" error. Which header in the response tells you how long to wait before retrying?
check_circle
Correct AnswerB
The Retry-After header provides the exact number of seconds to wait before the quota is replenished.
Question 227
You are building an agent for a museum that describes paintings to visually impaired users. Which model provides the best descriptive detail?
check_circle
Correct AnswerB
GPT-4o is currently the state-of-the-art for rich, contextual image description and visual storytelling.
Question 228
Which parameter in an Indexer definition controls how many items are processed in a single "Push" to the search index?
check_circle
Correct AnswerB
Adjusting the batchSize can help optimize performance and avoid hitting service limits during heavy indexing jobs.
Question 229
Which Python command would an agent use inside the Code Interpreter to list the files currently available in its working directory?
check_circle
Correct AnswerD
Standard Python libraries like os are available in the sandbox to perform file system operations.
Question 230
Which policy is used to identify which documents have been deleted from the source (e.g., SQL) so they can be removed from the index?
check_circle
Correct AnswerD
Soft Delete policies allow the indexer to recognize a "flag" in the source data as a signal to remove the document from the search index.