Question 56
You have a Python application named App1 that integrates with a Microsoft Foundry project named Project1.
You need to ensure that App1 meets the following requirements:
* Authenticates by using a Microsoft Entra managed identity
* Sends prompts to a deployed model by using the Azure OpenAI Responses API How should you complete the Python code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to ensure that App1 meets the following requirements:
* Authenticates by using a Microsoft Entra managed identity
* Sends prompts to a deployed model by using the Azure OpenAI Responses API How should you complete the Python code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Question 57
A multimodal agent processes user-uploaded images. An attacker embeds hidden text instructions inside an image, hoping the agent will read and act on them. Which Azure AI Content Safety capability is designed to detect this kind of attack?
Question 58
You have a customer support agent that uses the Microsoft Foundry Agent Service.
Sometimes, customers return to a session days later to continue the same support case, and the agent must resume with the full historical context. The agent must provide the following:
* Multi-turn continuity within the session
* Cross-session continuity for the same case
* Access to the full interaction history, including user messages, agent messages, tool calls, and tool outputs You need to ensure that the agent automatically reloads the complete history on each new turn.
What should you do?
Sometimes, customers return to a session days later to continue the same support case, and the agent must resume with the full historical context. The agent must provide the following:
* Multi-turn continuity within the session
* Cross-session continuity for the same case
* Access to the full interaction history, including user messages, agent messages, tool calls, and tool outputs You need to ensure that the agent automatically reloads the complete history on each new turn.
What should you do?
Question 59
You have a Microsoft Azure AI Foundry project named Project1.
You plan to create an app named App1 that will connect to Project1 and chat by using a generative AI model.
You need to connect App1 to Project1 by using the Azure AI Foundry SDK. The solution must minimize development effort.
What should you configure in App1?
You plan to create an app named App1 that will connect to Project1 and chat by using a generative AI model.
You need to connect App1 to Project1 by using the Azure AI Foundry SDK. The solution must minimize development effort.
What should you configure in App1?
Question 60
You have a Microsoft Foundry project that contains a customer support agent built by using the Foundry Agent Service.
The agent uploads user-provided screenshots to Azure Storage through a ticketing tool and receives a blob URL for additional reasoning.
You need to use image moderation during agent runs and prevent harmful content from being returned during runs. Azure Al Content Safety must access the images by using the blob URL. The solution must follow the principle of least privilege.
What should you configure for Content Safety? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

The agent uploads user-provided screenshots to Azure Storage through a ticketing tool and receives a blob URL for additional reasoning.
You need to use image moderation during agent runs and prevent harmful content from being returned during runs. Azure Al Content Safety must access the images by using the blob URL. The solution must follow the principle of least privilege.
What should you configure for Content Safety? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.



