You need to configure Azure Functions to generate vector embeddings according to planned environment application architecture.Which trigger type should you use?
Answer(s): B
The most appropriate trigger type for this architecture is the Azure Cosmos DB Trigger.This trigger monitors your NoSQL container's underlying change feed. When a document is created or modified, the function fires automatically, processes the data, generates the embedding, and places a message in Azure Service Bus.Scenario, Planned Application Architecture Azure Functions generate vector embeddings of Azure Cosmos DB for NoSQL-hosted documents and send messages to Service Bus to trigger search index updates.
https://learn.microsoft.com/en-us/azure/cosmos-db/integrated-embeddings
HOTSPOT (Drag and Drop is not supported)You need to configure image build automation based on the technical requirements.Which settings should you configure? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Answer(s): A
Scenario, Technical Requirements Container images must be built automatically and validated before code updates are merged into the main branch. Image build automation must run inside the Azure Container Registry, eliminating dependency on local developer machines and external build services. Dependency of image builds on local developer machines must be eliminated.Box 1: Commit Use a Commit trigger for this configurationImmediate Validation: Builds continuous integration (CI) pipelines automatically when a developer submits a pull request or pushes code.Gatekeeper Function: Prevents unvalidated code or broken container images from merging into your main branch.Workflow Alignment: Supports microservices development by isolating tests to the specific code updates being introduced.Box 2: GitHub workflow To implement automatic image builds and validation before code updates are merged into the main branch, you should use a GitHub workflow.Branch gating: GitHub Actions can trigger specifically on pull_request events targeting the main branch, allowing you to validate code and builds before merging.Automation control: It orchestrates the entire continuous integration (CI) pipeline, including linting, running unit tests, building Docker images, and scanning them for vulnerabilities.Integration capacity: It can seamlessly hand off the successfully validated image to Azure Container Registry (ACR) or utilize ACR Tasks under the hood as part of the pipeline steps.
https://docs.github.com/en/actions/tutorials/publish-packages/publish-docker-images
You need to deploy a batch embedding workload according to the planned application architecture.What should you use?
Scenario, application architecture Azure Functions generate vector embeddings of Azure Cosmos DB for NoSQL-hosted documents and send messages to Service Bus to trigger search index updates.YAML-formatted files should be used for this deployment.In a production-grade Kubernetes architecture, declarative management using configuration files provides the predictability, version control, and automation required for complex microservices.Declarative Configuration: Kubernetes relies natively on YAML to define the desired state of resources like Deployments, KEDA ScaledObjects (for event-driven Azure Function scaling), and Secrets.Complex Deployments: Your workload requires setting up multiple components, environmental variables, and scaling rules that cannot be efficiently managed via single-line commands.GitOps Readiness: Storing configurations in YAML allows you to track changes in source control and deploy updates automatically through CI/CD pipelines.
https://developer.okta.com/blog/2022/05/05/kubernetes-microservices-azure
You need to deploy Azure Function resources and apps to meet the business and technical requirements.What should you use?
GitHub Actions is the correct tool to use. Automated Pipeline: It natively automates infrastructure deployment (Bicep) and code compilation through version-controlled workflows.Eliminates Local Deployments: Workloads are triggered by repository events (like a code merge), removing the need for manual command-line interventions.Auditability & Repeatability: It keeps a centralized log of every deployment, ensuring a clear audit trail for governance.Scenario: Technical Requirements Resources and workloads must be deployed by using Bicep templates through an automated, version-controlled pipeline. Local and command-line deployments must be eliminated to ensure repeatable, auditable deployments.Business Requirements Development efforts must be minimized.
https://github.com/marketplace/actions/azure-functions-action
You need to configure image builds for a new service to meet the technical requirements.Which two actions should you perform? Each correct answer presents part of the solution.Note: Each correct selection is worth one point.
Answer(s): D,F
Technical requirements, CI/CD: All images must be stored in Azure Container Registry. Use ACR Tasks to automate image builds triggered by source code commits.The two best actions to meet the requirements are to create and configure an ACR Task with a source repository context and then push updated code to the source repository.The core constraint explicitly dictates using ACR Tasks to automate image builds triggered by source code commits.[D] Create and configure an ACR Task with a source repository context: This step directly establishes the automation hook. By defining the repository context (such as GitHub or Azure Repos) during task creation, Azure Container Registry is instructed exactly where to watch for code modifications.[F] Push updated code to the source repository: Once the ACR Task is configured with the source repository context, pushing new commits acts as the native trigger. ACR automatically intercepts the commit webhook, spins up a transient cloud agent, builds the Python container image via the Dockerfile, and pushes it directly into your registry.
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-overview
Post your Comments and Discuss Microsoft AI-200 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AI-200 content, but please register or login to continue.