Microsoft certification · Exam AI-200

Free Microsoft AI-200 Practice MCQs Page 4

Developing AI Cloud Solutions on Azure

Free AI 200 practice questions, each with the answer and an explanation. No sign-up needed.

Topic · 38 of 127 questions freeTopic 3, Standalone Questions Set
Question 31 Choose 2
You have container source code stored in a Git repository
The container registry must automatically build and store a new container image whenever a developer commits code to the Git repository.
You must minimize the use of an external build infrastructure.
You need to configure Azure Container Registry (ACR) to manage the build process natively and automatically.
Which two ACR components should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Question 32 Choose 2
You are designing an Azure Function that will process orders from a new Azure Service Bus queue. You need to prevent the system from processing messages more than once and preserve failed messages for investigation. Which two actions should you implement? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Question 33 Choose 1
You are developing several microservices to run on Azure Container Apps.
You need to monitor and diagnose the microservices.
Which features should you use? To answer, select the appropriate feature in the answer area.
NOTE: Each correct selection is worth one point.
Question 34 Choose 1
You deploy multiple instances of a change feed processor to handle a high ingestion rate within Azure Cosmos DB for NoSQL. Each processor instance must process a different subset of partitions. You need to ensure the workload is load-balanced across all processor instances. What should you configure?
Question 35 Choose 1
You have an Azure subscription named Sub1 that contains a resource group named RG1 and a Service Bus queue named SB1. You plan to implement an Azure Event Grid push even: subscription that will deliver an event lo SB1 whenever a resource is created, modified, or deleted in RG1. You must minimize the development and configuration efforts. You need to create an Event Grid topic for your planned implementation Which type of event topic should you create?
Question 36
You are building a semantic search feature for a chatbot. You store document embeddings in Redis. You review the following Python code that connects to Redis and stores an embedding value:

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Question 37 Choose 1
You deploy a production Azure Function app that connects to an Azure SQL Database.
The solution must provide the following functionality:

• Prevent secrets from being exposed in source control.
• Support secret rotation without redeploying the function app.
• Avoid downtime during credential updates.

You need to configure secure and maintainable secret management. What should you configure?
Question 38
You are developing a .NET application that uses Azure Cosmos DB for NoSQL to store application data The application uses the Azure Cosmos DB for NoSQL SDK to interact with the database account. The application must perform the following tasks
• Initialize the connection by using the account endpoint and key.
• Define shared throughput.
• Perform create, read, update, and delete (CRUD) operations on items stored in a container
Question 39
A company has an Azure Cosmos DB for NoSQL account. The account is configured for session consistency.
Data is written to a single Azure region and data can be read from three Azure regions.
An application that will access the Azure Cosmos DB for NoSQL container data using an SDK has the following requirements:
• Roads from the application must return the most recent committed version of an Item from any Azure region.
The container items should not automatically be deleted.
You need to implement the changes to the Azure Cosmos DB for NoSQL account. What should you do? To answer, select the appropriate options in the answer area
Question 40
A Python API retrieves a document from Azure Database for PostgreSQL by using a SQL statement. The API accepts the document ID from user input. The current implementation inserts the document ID directly into the SQL statement.
You need to secure the SQL statement execution by using a parameterized query. You must minimize the possibility of SQL injection.
How should you update the implementation to execute the SQL statement safely? To answer, move the appropriate configurations to the correct requirements. You may use each configuration once, more than once, or not at all. you may need to move the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

Practice Like It's Exam Day

Get exam-ready with a timed AI 200 Developing AI Cloud Solutions on Azure mock exam designed to match the official exam's question format, question count, and time limit.

Take Developing AI Cloud Solutions on Azure Mock Exam
  • Build Exam Endurance Stay focused and perform confidently under exam conditions.
  • Improve Time Management Practice pacing yourself to finish within the time limit.
  • Fresh Questions Every Attempt Experience randomized questions from our extensive question bank.
  • Unlimited Practice Attempts Retake mock exams and improve your score at your own pace.