Courseiva

CCNA Containerized AI Workloads Questions

75 of 117 questions · Page 1/2 · Containerized AI Workloads · Answers revealed

1
MCQeasy

You need to store custom AI container images in a private registry hosted within Azure. Which Azure service provides a managed Docker registry service?

A.Azure Blob Storage
B.Azure Managed Disks
C.Azure Artifacts
D.Azure Container Registry
AnswerD

ACR allows you to build, store, and manage container images and artifacts.

Why this answer

Azure Container Registry (ACR) is the managed Docker registry service in Azure used for storing and managing container images.

2
MCQhard

You have an AI model container that is frequently crashing due to OOM (Out of Memory) errors. How do you identify the actual memory usage compared to the limits?

A.Analyze metrics in Azure Monitor for Containers.
B.Run 'free -m' inside the container.
C.Check the pod 'Events'.
D.Use 'kubectl top nodes'.
AnswerA

Azure Monitor for Containers allows tracking of memory usage trends.

Why this answer

Azure Monitor or Prometheus/Grafana integration provides the metrics needed to compare usage against defined limits.

3
MCQmedium

You are deploying an AI workload to AKS and want to ensure that pods belonging to your application are distributed across different fault domains (availability zones) for high availability. Which Kubernetes feature should you configure?

A.Resource quotas
B.Topology spread constraints
C.Node taints and tolerations
D.Horizontal Pod Autoscaler
AnswerB

Topology spread constraints ensure high availability by distributing pods across availability zones.

Why this answer

Topology spread constraints allow you to configure how pods are spread across failure domains such as regions, zones, or nodes.

4
MCQhard

You are troubleshooting slow inference latency in an AI application deployed on AKS. You suspect that network packets between inference pods are traversing unnecessary hops due to overlay routing. Which CNI mode should you have chosen for optimal direct routing?

A.Azure CNI with direct pod IP routing (no overlay)
B.Kubenet with host-port mapping
C.Kubenet with basic Linux bridge
D.Azure CNI Overlay
AnswerA

Azure CNI allocates VNet IPs directly to pods, providing optimal networking performance.

Why this answer

Azure CNI without overlay assigns VNet IP addresses directly to pods, eliminating encapsulation overhead and improving networking performance for high-throughput AI workloads.

5
MCQmedium

You have an AI workload that requires persistent storage for large model checkpoints. Which storage type should you mount to an AKS pod for optimal performance?

A.Azure Disk (Premium).
B.Azure Files (Standard).
C.Ephemeral OS Disk.
D.Azure Blob Storage (container mount).
AnswerA

Premium SSDs provide the low latency and high IOPS needed for checkpoints.

Why this answer

Azure Disk storage is generally preferred for high-throughput I/O needed by AI checkpoints.

6
MCQmedium

You are configuring continuous deployment for an AI model container. Whenever a data scientist pushes code to a GitHub repository, you want Azure Container Registry to automatically build and tag the new container image without managing an external CI/CD build agent. What should you use?

A.Azure DevOps self-hosted build agent running on a VM
B.ACR Tasks with automated source code triggers
C.Azure Logic Apps polling GitHub webhooks
D.An AKS deployment controller pod
AnswerB

ACR Tasks can build container images natively in Azure upon commits to GitHub repositories.

Why this answer

ACR Tasks is a cloud-native build service that builds container images on Azure without requiring a separate CI/CD infrastructure.

7
Multi-Selectmedium

You are scaling an AI workload in Azure Container Apps. Which TWO scale rule triggers are natively supported without custom KEDA extensions?

Select 2 answers
A.HTTP concurrent requests
B.Azure Virtual Machine disk I/O throughput
C.Active directory login failure rate
D.Custom hardware temperature sensors
E.CPU and Memory utilization thresholds
AnswersA, E

HTTP scaling scales based on simultaneous web requests.

Why this answer

Azure Container Apps natively supports scaling based on HTTP requests, CPU, memory, and Azure Service Bus without manual KEDA manifest configuration.

8
MCQeasy

Which Azure feature allows you to set up a private, internal-only container registry?

A.Azure Private Link.
B.Azure Bastion.
C.Public access with firewall rules.
D.VPN Gateway.
AnswerA

Private Link secures access to the registry within your private network.

Why this answer

Private Link allows you to access ACR over a private IP address from your VNET.

9
MCQhard

You are troubleshooting intermittent network timeout errors between microservices in an AKS cluster running an AI pipeline. You suspect that network policies are blocking required inter-pod communication. Which CNI plugin must be configured in AKS to enforce these network policies?

A.Azure CNI with Azure Network Policies or Calico enabled
B.Kubernetes standard kube-proxy in IPVS mode only
C.Azure Virtual Network NAT Gateway
D.Kubenet basic networking without network policies
AnswerA

Azure CNI supports network policies (either Azure's native implementation or Calico) to restrict pod traffic.

Why this answer

Azure CNI with Azure Network Policies or Calico network policies must be enabled in AKS to enforce namespace and pod-level traffic rules.

10
Multi-Selectmedium

You are troubleshooting an AI inference container deployed in Azure Container Apps that is failing health probes. Which TWO diagnostic tools or logs can you examine in the Azure portal to investigate the failure?

Select 2 answers
A.Log stream in the Azure portal for the container app replica
B.Azure Bastion connection to the container host VM
C.Container Apps console for interactive terminal access
D.AKS control plane audit logs
E.Azure Storage Account blob container metrics
AnswersA, C

Log stream provides real-time stdout and stderr output from the container.

Why this answer

Azure Container Apps provides built-in log streaming, console access, and diagnostic metrics to troubleshoot container startup and health probe failures.

11
MCQeasy

Your enterprise requires that all container images deployed to Azure Kubernetes Service (AKS) must originate from approved corporate Azure Container Registries (ACRs). How can you enforce this restriction cluster-wide?

A.Configure standard Kubernetes Network Policies in the kube-system namespace
B.Configure Azure Policy for Kubernetes with the built-in initiative to restrict container registries
C.Set up ACR webhook notifications to trigger Azure Functions that delete unauthorized pods
D.Modify the kubelet configuration file on every cluster node manually
AnswerB

Azure Policy for Kubernetes enforces admission control rules that block deployment of images from unapproved registries.

Why this answer

Azure Policy for Kubernetes uses Gatekeeper v3 to audit or enforce cluster behaviors, such as restricting image registries.

12
MCQeasy

You are using Azure Container Apps. You need to deploy a new version of your AI model without downtime. Which deployment strategy should you configure?

A.Traffic splitting between revisions.
B.Overwrite the current revision.
C.Rolling update.
D.Scale to zero and redeploy.
AnswerA

Traffic splitting allows you to shift traffic gradually to the new version.

Why this answer

Blue-Green or Canary deployments in ACA allow traffic shifting between revisions without downtime.

13
MCQmedium

You have an Azure Container Registry and an Azure Kubernetes Service cluster in different Azure regions. You want to ensure that AKS nodes pull container images from a local regional endpoint to minimize latency and cross-region data transfer fees. What feature should you configure on ACR?

A.Azure ExpressRoute global reach
B.ACR Import command scheduled daily
C.ACR Geo-Replication
D.Azure Traffic Manager DNS routing
AnswerC

Geo-replication replicates container registries across multiple regions for low-latency, local pulls.

Why this answer

ACR Geo-replication allows a single registry to be replicated across multiple Azure regions, providing local container image pulls.

14
MCQhard

You need to configure network security for an Azure Container Apps environment that hosts an internal AI scoring API. The API must only be reachable from a specific Azure Virtual Network (VNet) and blocked from public internet access. How should you configure the environment?

A.Attach a Private Endpoint to the Azure Container Registry hosting the app
B.Enable IP security restrictions on the default public ingress
C.Deploy the Container Apps environment with an internal Virtual Network integration and internal load balancer
D.Configure an Azure Front Door instance with WAF rules in front of the public endpoint
AnswerC

An internal-only Container Apps environment assigns a private virtual network IP for ingress, blocking public access.

Why this answer

Deploying Azure Container Apps with an internal Load Balancer (ILB) restricts ingress to a private IP within an integrated Virtual Network.

15
MCQeasy

You need to deploy a containerized AI model to Azure Container Apps and configure it to scale based on Azure Service Bus queue messages. Which scaler should you specify?

A.azure-blob
B.azure-service-bus
C.memory
D.cron
AnswerB

The azure-service-bus scale rule monitors queue length to scale container replicas.

Why this answer

Azure Container Apps supports KEDA scalers natively, including the azure-service-bus scaler.

16
MCQmedium

You are managing an Azure Kubernetes Service (AKS) cluster that runs high-throughput AI model training jobs using NVIDIA Tensor Core GPUs. Pods frequently fail to schedule because of insufficient GPU memory across existing nodes. You need to ensure the cluster automatically provisions new GPU-enabled worker nodes when resource demands increase. What should you configure?

A.Configure KEDA (Kubernetes Event-driven Autoscaling) with a Prometheus scaler.
B.Configure the Horizontal Pod Autoscaler (HPA) with custom GPU metrics.
C.Enable the Kubernetes Cluster Autoscaler on a node pool containing GPU virtual machine sizes.
D.Deploy the Azure Container Storage operator with GPU caching enabled.
AnswerC

The Cluster Autoscaler monitors for unschedulable pods and adds instances to the specified GPU node pool.

Why this answer

To automatically add GPU-backed nodes when workloads are pending due to resource constraints, you must configure the Kubernetes Cluster Autoscaler with a dedicated node pool that uses GPU virtual machine sizes (e.g., Standard_NC6s_v3).

17
Multi-Selectmedium

You are troubleshooting an AI application container in an AKS cluster that cannot resolve external domain names (e.g., huggingface.co). Which TWO Kubernetes components should you investigate?

Select 2 answers
A.kube-dns service endpoint mapping
B.Horizontal Pod Autoscaler configuration
C.Persistent Volume Claim binding state
D.Ingress controller SSL certificate expiration
E.CoreDNS deployment and pod health in the kube-system namespace
AnswersA, E

The kube-dns service routes DNS queries to CoreDNS pods.

Why this answer

DNS resolution issues in AKS typically point to CoreDNS pod status, kube-dns service configuration, or node network routing.

18
Multi-Selecteasy

Which TWO Azure services can store and serve private Docker container images for AI workloads?

Select 2 answers
A.Azure Cognitive Services
B.Azure Bastion
C.Azure Container Instances (pulling from ACR)
D.Azure Container Registry
E.Azure Logic Apps
AnswersC, D

ACI pulls and runs container images stored in ACR.

Why this answer

Azure Container Registry and Azure Container Instances (via image pull secrets) interact with container images, while ACR is the dedicated private registry.

19
MCQmedium

You are managing an AKS cluster running resource-intensive AI training jobs. You want to ensure that nodes automatically scale up and down based on pending pod resource requests. Which component should you enable and configure?

A.KEDA (Kubernetes Event-driven Autoscaling)
B.Azure Load Balancer
C.Horizontal Pod Autoscaler
D.Kubernetes Cluster Autoscaler
AnswerD

Cluster Autoscaler automatically adjusts the number of nodes in your AKS cluster based on resource demands.

Why this answer

The Kubernetes Cluster Autoscaler monitors for unschedulable pods and requests additional nodes from Azure Virtual Machine Scale Sets.

20
Multi-Selectmedium

Your development team is planning to deploy a containerized natural language processing model to Azure Container Apps. Which TWO features are natively supported by Azure Container Apps for managing application lifecycle and traffic? (Choose two.)

Select 2 answers
A.Automatic deployment of bare-metal hypervisors
B.Built-in KEDA-based autoscaling including scaling to zero
C.Native revision management and traffic splitting between revisions
D.Direct root SSH access to individual container instances for interactive debugging
E.Direct manual configuration of control plane Kubernetes master nodes
AnswersB, C

Container Apps includes native KEDA integration for event-driven scaling, including scale-to-zero.

Why this answer

Azure Container Apps natively supports multi-revision management and traffic splitting between revisions, as well as KEDA autoscaling.

21
MCQhard

You are setting up image builds for a multi-architecture (AMD64 and ARM64) AI model container using Azure Container Registry Tasks. Which command or feature should you use to build images for both architectures simultaneously?

A.Azure DevOps pipeline running docker push directly
B.az aks create with --node-os-sku
C.az acr build with a multi-step task or docker buildx configuration
D.az acr import
AnswerC

ACR Tasks support platform specifications and buildx for compiling multi-architecture container images.

Why this answer

ACR Tasks support multi-architecture builds using Docker buildx commands within a task definition file or quick task execution.

22
Multi-Selectmedium

Which TWO of the following steps are required to enable GPU support for a pod in AKS?

Select 2 answers
A.Use a node pool with GPU-enabled VMs.
B.Enable the 'Privileged' flag in the Dockerfile.
C.Include the 'nvidia.com/gpu' resource request in the pod.
D.Set the pod to run as root.
E.Install the NVIDIA driver on the local machine.
AnswersA, C

Essential for providing physical GPU hardware.

Why this answer

You must use a GPU-enabled node pool and request GPU resources in the pod specification.

23
MCQmedium

You have a large image that takes a long time to pull. You want to speed up deployment in AKS. Which feature should you enable?

A.Use a public mirror for the image.
B.Increase the AKS node count.
C.Use smaller base images.
D.Enable Artifact Streaming in ACR.
AnswerD

Artifact Streaming allows the container to start before the full image is pulled.

Why this answer

Image Pull Secrets are standard, but ACR 'Artifact Streaming' is the specific feature for reducing pull times.

24
Multi-Selectmedium

Which THREE of the following are security best practices for container registries?

Select 3 answers
A.Use Private Link for network access.
B.Disable HTTPS for faster access.
C.Apply Role-Based Access Control (RBAC).
D.Use the 'latest' tag for production images.
E.Enable vulnerability scanning.
AnswersA, C, E

Prevents public exposure.

Why this answer

Registry security includes scanning, limiting access, and protecting the content.

25
MCQmedium

You are deploying a containerized machine learning inference service to Azure Container Apps. The model artifact is large (15 GB) and must be securely loaded during container startup. What is the most efficient way to mount this model data into the container app?

A.Mount an Azure Files volume to the container app
B.Download the model over the public internet at container boot
C.Bake the model directly into the Docker image layer
D.Store the model in environment variables
AnswerA

Azure Files storage mounts allow sharing large models across container replicas without bloating the container image.

Why this answer

Azure Container Apps supports mounting Azure Files or Azure Blob Storage (via blobfuse) as volumes, allowing containers to read large assets efficiently.

26
Multi-Selecthard

You are configuring an Azure Kubernetes Service (AKS) cluster for enterprise AI workloads. Which THREE practices should you implement to enhance cluster security and isolation? (Choose three.)

Select 3 answers
A.Configure Microsoft Entra Workload Identity for pod-to-Azure service authentication
B.Disable TLS on the API server to improve inter-node communication speed
C.Share a single service principal across all namespaces for simplified administration
D.Enable Azure Policy for Kubernetes for governance and compliance enforcement
E.Integrate Microsoft Entra ID with Azure RBAC for Kubernetes authorization
AnswersA, D, E

Workload Identity securely binds Kubernetes service accounts to Microsoft Entra identities without storing credentials.

Why this answer

Enterprise AKS security best practices include enabling Azure Policy for Kubernetes, using Azure RBAC for Kubernetes authorization, and utilizing Workload Identity for secure credential-less access to Azure services.

27
MCQeasy

You need to store private AI model weights in an Azure Container Registry (ACR). Which authentication method follows the principle of least privilege for an AKS cluster to pull these images?

A.Service Principal with Contributor role.
B.ACR Admin account credentials.
C.Azure Managed Identity.
D.A shared SAS token generated for the registry.
AnswerC

Managed Identity is the secure, recommended way for AKS to authenticate with ACR.

Why this answer

Managed Identity allows the AKS Kubelet to authenticate to ACR without storing static credentials.

28
MCQeasy

You are building an AI container image and need to minimize its final size to speed up deployment times. Which multi-stage build practice should you follow?

A.Use a builder stage for compilation and copy only runtime artifacts into a slim base image
B.Store model weights directly inside the container image layers
C.Install all development tools and pip packages in a single RUN instruction
D.Disable container image compression when pushing to ACR
AnswerA

Multi-stage builds discard build tools and dependencies from the final production image, reducing size.

Why this answer

Multi-stage builds allow you to use a heavy builder image with SDKs and compilers, then copy only the compiled artifacts and runtime binaries into a slim final base image.

29
Multi-Selecthard

You are configuring rolling updates for an AI model inference service on AKS with zero downtime requirements. Which THREE deployment or pod configuration settings should you configure?

Select 3 answers
A.Deployment strategy set to RollingUpdate with configured maxSurge and maxUnavailable
B.Readiness and liveness probes to verify container health before traffic routing
C.Setting restart policy to Never on the Deployment template
D.Pod Disruption Budget (PDB) to ensure minimum available replicas during node drains
E.Disabling all container health checks to speed up pod termination
AnswersA, B, D

RollingUpdate controls how many pods are replaced simultaneously.

Why this answer

Zero downtime deployments require liveness/readiness probes, RollingUpdate strategy with maxSurge/maxUnavailable, and PDBs.

30
MCQeasy

You are deploying a custom PyTorch inference model container to Azure Container Apps. The application requires GPU acceleration for real-time video processing. Which Azure Container Apps environment configuration tier must you select to support this requirement?

A.Serverless container instances tier
B.Azure Container Apps Basic tier
C.Dedicated workload profiles (Consumption and Dedicated)
D.Consumption standard workload profile
AnswerC

GPU-enabled container apps require dedicated workload profiles that support NC-series or similar GPU nodes.

Why this answer

GPU-enabled nodes in Azure Container Apps are supported exclusively through the Consumption dedicated workload profiles tier, allowing you to scale container apps with NVIDIA GPU hardware.

31
Multi-Selecthard

Which THREE of the following options are important when configuring an AKS cluster for AI workloads?

Select 3 answers
A.Network policies for pod communication isolation.
B.Always run every pod as privileged.
C.Managed identity for cluster components.
D.Disable all internal firewalls.
E.GPU-enabled node pools.
AnswersA, C, E

Crucial for security.

Why this answer

Security, performance, and monitoring are key components for any production AI cluster.

32
MCQmedium

You are deploying a custom PyTorch model to Azure Container Apps. You need to ensure that the container utilizes GPU acceleration. Which configuration step is required in the Container App environment?

A.Enable the 'GPU-enabled' flag in the Container App resource settings.
B.Assign a workload profile that supports GPU instances.
C.Set the --gpu-count parameter in the Azure CLI deploy command.
D.Install the NVIDIA CUDA driver manually inside the container image.
AnswerB

GPU support in ACA is managed through dedicated workload profiles.

Why this answer

Azure Container Apps supports GPU-enabled nodes. You must select a workload profile that supports GPUs during the environment creation.

33
Multi-Selecteasy

Which THREE of the following are components of a standard Dockerfile for an AI application?

Select 3 answers
A.CLUSTER_CREATE.
B.RUN (Installation of libraries/tools).
C.CMD/ENTRYPOINT (Process command).
D.FROM (Base image).
E.AZURE_LOGIN (Manual login).
AnswersB, C, D

Setup steps.

Why this answer

Base image, dependency installation, and the application entrypoint are core components.

34
MCQhard

You are running a GPU-intensive AI workload in AKS. You want to ensure the pods are scheduled only on nodes that have GPUs. How do you enforce this?

A.Use a DaemonSet.
B.Use a nodeSelector for 'sku=gpu'.
C.Define a Resource Request for RAM.
D.Add a Kubernetes Taint to the GPU nodes.
AnswerB

nodeSelectors ensure the pod only lands on labeled GPU nodes.

Why this answer

Using nodeSelectors or nodeAffinity is the standard Kubernetes way to restrict pod placement to specific node types.

35
Multi-Selecthard

You are configuring enterprise networking for an AKS cluster running sensitive AI models. Which THREE networking features should you implement for cluster security?

Select 3 answers
A.Public IP assignment to every worker node
B.Azure Firewall or user-defined routes for outbound egress filtering
C.Disabling all internal kube-dns resolution
D.Azure CNI Network Policies for pod-level traffic restriction
E.Private AKS API server endpoint
AnswersB, D, E

Egress filtering controls where cluster nodes can send outbound traffic.

Why this answer

Securing AKS network traffic involves Azure CNI network policies, private cluster API server endpoints, and outbound traffic filtering via Azure Firewall.

36
Multi-Selectmedium

Which TWO of the following are valid ways to reduce the size of a container image?

Select 2 answers
A.Use the 'latest' tag for all dependencies.
B.Use multi-stage Docker builds.
C.Use a smaller base OS image (e.g., Alpine or Distroless).
D.Enable ACR Geo-replication.
E.Install all dependencies in one RUN command.
AnswersB, C

Discards unnecessary build artifacts.

Why this answer

Multi-stage builds and using lighter base images are the two most effective strategies for image size reduction.

37
MCQhard

Your containerized AI application requires a specific version of a kernel driver that is not installed on the AKS nodes. What is the most efficient way to manage this?

A.Mount the /proc filesystem as read-write.
B.Run the application as root.
C.Use a privileged InitContainer to load the driver.
D.Rebuild the AKS cluster.
AnswerC

This allows you to prepare the node environment before the main application starts.

Why this answer

Using an InitContainer with appropriate privileges to install the driver on the host is a common pattern for specific hardware needs.

38
Multi-Selectmedium

Which TWO of the following are valid autoscaling options for AKS?

Select 2 answers
A.Cluster Autoscaler (CA).
B.Manual registry scaling.
C.Horizontal Pod Autoscaler (HPA).
D.Storage capacity scaling.
E.Azure Service Bus scaling.
AnswersA, C

Scales nodes based on pending pods.

Why this answer

Horizontal Pod Autoscaler and Cluster Autoscaler are the two main ways to scale AKS.

39
MCQmedium

You need to deploy a real-time object detection model inside an Azure Container App. The application requires immediate scale-out when the queue length of incoming image processing requests exceeds a threshold. Which scaling rule type should you configure?

A.Azure Queue Storage / Service Bus KEDA scaling rule
B.Memory utilization scaling rule
C.CPU utilization scaling rule
D.HTTP concurrency scaling rule
AnswerA

KEDA queue-based scaling rules inspect the backing message queue length to scale pods up or down accordingly.

Why this answer

Azure Container Apps supports KEDA scalers, including the Azure Service Bus, Azure Queue Storage, and Redis scalers for event-driven scaling.

40
MCQeasy

You are deploying a Python Flask API that wraps an ONNX runtime model to Azure Container Instances (ACI). The container needs to expose port 5000 externally. Which parameter must you specify when creating the container group?

A.--assign-identity
B.--restart-policy Never
C.--os-type Windows
D.--dns-name-label and port 5000 mapping
AnswerD

A DNS name label and port mapping expose the container instance publicly with a routable endpoint.

Why this answer

When deploying to Azure Container Instances, you must explicitly configure the port and protocol for public IP exposure.

41
MCQmedium

You are troubleshooting a containerized AI model running in an Azure Container App that crashes immediately upon startup with an exit code indicating an Out Of Memory (OOM) error. You need to inspect the container resource allocations. Where can you adjust the memory allocation for the container?

A.In the Azure Container Registry webhook configuration
B.In the Azure Container App revision template settings under container resource allocation
C.In the Azure Virtual Network route table settings
D.In the Azure Monitor diagnostic settings export destination
AnswerB

Container resource limits (CPU and memory) are defined in the container app's template settings.

Why this answer

In Azure Container Apps, container CPU and memory resources are configured per container in the container app revision template settings.

42
Multi-Selectmedium

You are deploying a custom text-embedding model container to Azure Container Apps. You need to configure scaling rules so that the container scales out based on incoming HTTP traffic and Azure Service Bus queue length. Which TWO scalers can you configure? Each correct answer presents part of the solution.

Select 2 answers
A.cpu memory-limit scaler
B.azure-servicebus scaler
C.azure-blob-storage scaler
D.container-registry scaler
E.http scaler
AnswersB, E

The azure-servicebus scaler monitors queue or topic message counts to scale container app replicas.

Why this answer

Azure Container Apps uses KEDA under the hood and natively supports scaling based on HTTP traffic (http scaler) and Azure Service Bus queues (azure-servicebus scaler).

43
MCQhard

You are running a distributed AI training job on AKS using MPI. Which network configuration is critical for performance?

A.Use an internal VNET peering.
B.Enable standard load balancing.
C.Enable Azure Accelerated Networking on the node pool.
D.Disable the pod network policy.
AnswerC

Accelerated Networking reduces latency and jitter, which is vital for MPI.

Why this answer

For distributed training, high-bandwidth/low-latency networking like InfiniBand or Azure Accelerated Networking is required.

44
MCQmedium

You are configuring continuous deployment for an AI model container using Azure DevOps and Azure Container Registry (ACR). You need to ensure that when a new container image is pushed to ACR, an event triggers an automated webhook that notifies an Azure Function to run post-deployment validation tests. Which event type should you subscribe to in the ACR webhook configuration?

A.artifactDelete
B.chartPush
C.imagePush
D.quarantineStatusChange
AnswerC

imagePush triggers the webhook notification specifically when a container image is pushed to ACR.

Why this answer

The 'imagePush' event type triggers the webhook whenever a new image manifest is successfully pushed to the container registry.

45
MCQhard

You manage an AKS cluster running high-throughput AI inference pods. During traffic spikes, pods experience latency due to slow container image pulls from Azure Container Registry (ACR). You want to optimize image pull performance across cluster nodes. Which feature should you enable?

A.AKS Image Streaming with containerd
B.ACR Tasks auto-purge
C.ACR Geo-Replication
D.Azure Blob Storage CDN integration
AnswerA

Image streaming allows containers to start immediately by streaming layers on-demand rather than waiting for a full pull.

Why this answer

AKS supports image streaming (backed by containerd image streaming) to run containers before the entire image is downloaded, significantly reducing startup time.

46
Multi-Selecteasy

Which THREE of the following are common reasons for a container image pull failure in AKS?

Select 3 answers
A.The node has too much memory.
B.Network connectivity issues to ACR.
C.Insufficient permissions (missing pull secrets).
D.The container is running too fast.
E.Invalid image tag or registry path.
AnswersB, C, E

AKS node cannot reach the registry endpoint.

Why this answer

Incorrect credentials, network issues, and invalid tags are common failure points.

47
MCQhard

You are containerizing a large language model (LLM) inference API to run in Azure Container Apps. The model weights exceed 15 GB and cause container startup timeouts because the image takes too long to pull from Azure Container Registry (ACR). You need to optimize the container startup performance without reducing the model size. What is the best approach?

A.Upgrade the Azure Container Apps environment to use HTTP/2 protocol.
B.Store the model weights in an Azure Blob Storage account and mount them via an ephemeral volume.
C.Configure ACR content trust and geo-replication.
D.Enable ACR artifact streaming for the container registry.
AnswerD

Artifact streaming enables container runtimes to start executing containers before all layers are fully downloaded.

Why this answer

ACR artifact streaming allows containers to start immediately by streaming layers on-demand without waiting for the entire image to download locally, significantly reducing cold-start times for large AI container images.

48
MCQeasy

Your development team wants to push custom Docker images containing fine-tuned open-source LLMs to a secure, private registry hosted on Azure. Which Azure service should you use to store and manage these container images?

A.Azure Files
B.Azure Artifacts
C.Azure Blob Storage
D.Azure Container Registry
AnswerD

Azure Container Registry provides private Docker container image storage integrated with Azure Active Directory.

Why this answer

Azure Container Registry (ACR) is a managed Docker registry service based on the open-source Docker Registry 2.0, used for storing and managing container images and artifacts.

49
MCQeasy

You need to deploy a microservice application that consists of an API gateway and an AI model inference container. The solution must scale automatically based on HTTP traffic and support zero scaling when idle to reduce costs, without requiring complex Kubernetes cluster management. Which service is best suited for this?

A.Azure App Service for Containers
B.Azure Batch
C.Azure Container Apps
D.Azure Kubernetes Service (AKS)
AnswerC

Azure Container Apps provides fully managed serverless containers with built-in KEDA scaling, including scaling to zero.

Why this answer

Azure Container Apps (ACA) provides serverless container hosting built on top of Kubernetes, supporting KEDA-based autoscaling including scaling to zero based on HTTP traffic.

50
Multi-Selecthard

Which THREE of the following items should be configured to ensure your AI workload in AKS is observable?

Select 3 answers
A.Prometheus and Grafana.
B.Integration with Application Insights.
C.Azure Backup.
D.Azure Monitor for Containers.
E.Azure Bastion.
AnswersA, B, D

Standard stack for cluster metrics.

Why this answer

Logging, metrics, and tracing are the three pillars of observability in AKS.

51
MCQhard

You are configuring authentication between an Azure Container App running an AI model and an Azure OpenAI resource. To adhere to security best practices, you must avoid storing API keys in environment variables or code. How should you configure this?

A.Hardcode the secondary endpoint key into the Docker image build arguments
B.Enable anonymous public access on the Azure OpenAI resource for internal virtual network traffic
C.Configure a system-assigned managed identity on the Container App and grant it Cognitive Services OpenAI User role on the Azure OpenAI resource
D.Store the Azure OpenAI primary key in an Azure Key Vault and reference it via Container App secrets with plain text retrieval
AnswerC

System-assigned managed identity allows secure, credential-less authentication from the Container App to Azure OpenAI.

Why this answer

Managed identities allow Azure resources to authenticate to services supporting Microsoft Entra authentication without embedding credentials.

52
MCQeasy

You need to deploy a quick, stateless AI data processing script packaged in a container image without setting up Kubernetes or Container Apps. Which Azure service offers the fastest deployment for a single container instance?

A.Azure Virtual Machines with Docker installed
B.Azure Container Instances
C.Azure App Service for Linux
D.Azure Kubernetes Service
AnswerB

ACI allows you to run containers in Azure without managing virtual machines or orchestrators.

Why this answer

Azure Container Instances (ACI) is designed for fast, serverless deployment of single containers without cluster management.

53
Multi-Selecteasy

Which TWO actions can you perform using Azure Container Registry Tasks (ACR Tasks)?

Select 2 answers
A.Manage Azure Virtual Machine backups
B.Automate image builds upon Git source code repository commits
C.Build container images in the cloud without needing a local Docker daemon
D.Configure Azure Front Door routing rules
E.Deploy AKS clusters automatically
AnswersB, C

ACR Tasks can trigger builds automatically when source code or Dockerfiles are updated in GitHub or Azure DevOps.

Why this answer

ACR Tasks enable building container images in the cloud, automating multi-architecture builds, and running quick patch tasks.

54
MCQhard

An AKS cluster is configured with KEDA for autoscaling an AI inferencing service based on Azure Queue Storage length. The pods fail to scale. Which component should you inspect first?

A.The Azure Container Registry webhook settings.
B.The Horizontal Pod Autoscaler (HPA) resource directly.
C.The Cluster Autoscaler logs.
D.The ScaledObject resource status.
AnswerD

Checking the status of the ScaledObject reveals errors in connecting to the trigger source.

Why this answer

The ScaledObject is the KEDA custom resource that defines the trigger. If it is misconfigured, the autoscaler will not function.

55
MCQhard

You are deploying a custom AI model container to Azure Container Apps. The container listens on port 8080 and requires health probes to verify readiness before routing traffic. How should you configure the probes?

A.Configure an Azure Front Door health probe pointing to the internal container IP
B.Configure a TCP liveness probe pointing to port 22 for SSH management
C.Configure an HTTP readiness probe targeting port 8080 on your health check endpoint
D.Configure a startup probe that restarts the container if CPU usage drops below 5 percent
AnswerC

Readiness probes ensure the container accepts traffic only when fully initialized and healthy on its listening port.

Why this answer

Azure Container Apps supports liveness, readiness, and startup probes configured via HTTP, TCP, or gRPC.

56
MCQeasy

You want to view real-time standard output logs from a container running in Azure Container Instances named 'ai-inferencing-aci'. Which Azure CLI command should you run?

A.az container show --resource-group myRG --name ai-inferencing-aci
B.az aks browse --name ai-inferencing-aci
C.az container logs --resource-group myRG --name ai-inferencing-aci
D.az acr repository show-tags
AnswerC

az container logs retrieves the logs for the specified container instance.

Why this answer

The 'az container logs' command streams or retrieves logs from an Azure Container Instance.

57
MCQhard

You deploy an AI inferencing service to an Azure Kubernetes Service (AKS) cluster. The service uses an ONNX Runtime container. Users report intermittent 504 Gateway Timeouts during peak batch request loads. You notice that the application pods are being terminated due to Out-Of-Memory (OOM) errors during heavy inference loads. How should you resolve this issue in your Kubernetes deployment manifest?

A.Decrease the readiness probe failureThreshold to remove faulty pods faster.
B.Increase the memory limit value in the container resource specifications.
C.Enable the Kubernetes Horizontal Pod Autoscaler based on CPU utilization.
D.Configure a liveness probe with an increased initialDelaySeconds value.
AnswerB

Raising the memory limit prevents the Linux kernel OOM killer from terminating the container when memory usage spikes during large batch inferences.

Why this answer

When container workloads experience OOM kills during peak load, you must increase the memory limit in the container resource specifications and ensure requests are appropriately sized.

58
MCQeasy

You need to view the logs of a container that recently crashed in an AKS cluster. Which command is used?

A.kubectl get pods.
B.az aks logs.
C.kubectl describe pod.
D.kubectl logs <pod-name> --previous.
AnswerD

The --previous flag shows logs from the previous instance of a crashed container.

Why this answer

kubectl logs is the standard command for viewing container outputs.

59
Multi-Selecthard

You are designing a high-performance AI inference architecture on Azure Kubernetes Service (AKS). Which THREE AKS features or configurations should you incorporate to optimize performance and resource utilization? (Choose three.)

Select 3 answers
A.Cluster Autoscaler to automatically scale node pool size based on pending pod demands
B.Running all pods exclusively on single-core, low-memory burstable VMs (B-series)
C.GPU-optimized node pools (such as NC or ND series virtual machines)
D.Disabling the Kubernetes scheduler to manually place every container instance
E.Node taints and tolerations to dedicate GPU nodes strictly to AI inference pods
AnswersA, C, E

Cluster Autoscaler adds or removes cluster nodes dynamically as resource demands fluctuate.

Why this answer

Optimizing AKS for AI workloads includes utilizing GPU-optimized node pools, node taint/tolerations to dedicate nodes to AI tasks, and cluster autoscaler for dynamic scaling.

60
MCQhard

You are deploying a model that requires a specific version of a non-standard OS library. You want to ensure the build environment is consistent across your team. What should you use?

A.Manual installation on the build agent.
B.A Dockerfile with fixed base image tags.
C.Install the library via a post-deployment script.
D.Use the 'latest' tag for the base image.
AnswerB

Fixed tags ensure consistent environments across all builds.

Why this answer

Multi-stage Dockerfiles ensure the build environment is defined as code and consistent.

61
MCQeasy

You are deploying a web application container to Azure Container Apps and want to enable external HTTPS traffic. Which ingress setting must you configure?

A.Set target port to 80 and protocol to TCP
B.Enable ingress with external traffic permitted
C.Disable ingress entirely
D.Configure internal ingress only
AnswerB

External ingress exposes the container app to public HTTPS traffic with a fully qualified domain name.

Why this answer

Enabling ingress and setting traffic to external allows public internet access to your Container App over HTTPS.

62
MCQmedium

You need to automate the deployment of containerized AI models whenever a new image is pushed to ACR. What is the most efficient Azure-native tool for this trigger?

A.ACR Tasks.
B.Azure Service Bus.
C.Azure Policy.
D.Azure Logic Apps.
AnswerA

ACR Tasks are specifically designed to respond to repository events.

Why this answer

ACR Tasks can trigger deployments or build processes automatically upon push events.

63
MCQmedium

You want to ensure your AI inference service is highly available across multiple regions. What is the recommended approach for container distribution?

A.Store images in a public Docker Hub account.
B.Use a single global ACR endpoint.
C.Manually copy images using a script.
D.Enable ACR Georeplication.
AnswerD

Georeplication automatically syncs images to multiple regions.

Why this answer

Georeplication in ACR ensures images are available locally in multiple regions, improving deployment speed and availability.

64
Multi-Selecteasy

Which TWO of the following are true about Azure Container Apps?

Select 2 answers
A.You must manage the underlying Kubernetes nodes.
B.It is a serverless container platform.
C.It is not compatible with Dapr.
D.It supports KEDA for event-driven scaling.
E.It does not support VNETs.
AnswersB, D

ACA manages the underlying infrastructure.

Why this answer

ACA is serverless and supports KEDA for scaling.

65
Multi-Selecteasy

When configuring an Azure Container Instances container group, which TWO properties can you define?

Select 2 answers
A.AKS node pool sizing
B.DNS name label for public IP resolution
C.Virtual machine scale set autoscaling rules
D.Kubernetes namespace allocation
E.Environment variables passed to the container runtime
AnswersB, E

A DNS name label exposes the container group publicly with a FQDN.

Why this answer

An ACI container group supports defining networking properties like DNS name labels, environment variables, restart policies, and resource requests.

66
MCQhard

You are configuring GPU time-slicing on an AKS cluster to maximize GPU utilization for multiple lightweight AI inference containers sharing a single NVIDIA A100 GPU. Where must you define the time-slicing configuration profile?

A.Inside the Dockerfile of each individual AI container
B.A Kubernetes ConfigMap referenced by the NVIDIA device plugin daemonset
C.Via Azure Container Apps workload profiles configuration
D.In the Azure portal under AKS cluster node pool properties
AnswerB

NVIDIA device plugin uses a ConfigMap to define sharing parameters such as time-slicing replicas.

Why this answer

GPU time-slicing in AKS is configured using a ConfigMap that defines replica counts per GPU device, which is then applied to the cluster.

67
MCQhard

You are configuring network policies in an AKS cluster to isolate your AI inference pods from other namespaces. You notice that traffic is still flowing between namespaces despite applying a NetworkPolicy. What is the most likely cause?

A.The AKS cluster was deployed with a network plugin that does not enforce Kubernetes network policies
B.Network policies require IPv6 enablement on the cluster subnet
C.Network policies apply only to ingress controllers, not pod-to-pod traffic
D.Azure Firewall is blocking the network policy controller
AnswerA

Kubenet or default unconfigured Azure CNI without policy enforcement enabled will ignore NetworkPolicy objects.

Why this answer

AKS requires a network plugin that supports network policies, such as Azure CNI with Azure Network Policies or Calico, to be enabled at cluster creation.

68
Multi-Selectmedium

Which TWO of the following can be used to manage secrets in a containerized AI workload?

Select 2 answers
A.Azure Key Vault Secret Store CSI driver.
B.Embedding them in the image.
C.Azure Data Lake.
D.Writing secrets to a log file.
E.Native Kubernetes Secrets.
AnswersA, E

Industry standard for secret management in AKS.

Why this answer

Kubernetes Secrets and Azure Key Vault (with FlexVolume or Secret Store CSI) are the two standard ways.

69
MCQeasy

Which type of registry is most suitable for storing images that are shared across an entire organization?

A.Docker Hub (Free).
B.GitHub Container Registry.
C.Local hard drive.
D.Azure Container Registry.
AnswerD

ACR is the enterprise-grade solution for Azure-based organizations.

Why this answer

Azure Container Registry (ACR) provides private storage and fine-grained access control for organizational images.

70
Multi-Selecteasy

Your team is evaluating Azure Container Apps versus Azure Kubernetes Service (AKS) for hosting containerized AI workloads. Which TWO characteristics are advantages of Azure Container Apps over standard AKS? (Choose two.)

Select 2 answers
A.Requirement to manage custom CNI overlay networking routing tables manually
B.Simplified container management without direct exposure or management of Kubernetes master nodes
C.Mandatory manual configuration of KEDA controllers and Ingress controllers
D.Built-in support for scaling automatically down to zero replicas when idle
E.Complete low-level administrative access to kernel modules and cluster root certificates
AnswersB, D

Container Apps abstracts Kubernetes complexity, removing the need to manage control planes.

Why this answer

Azure Container Apps provides simplified serverless management without exposing Kubernetes control plane complexity and offers native scale-to-zero capabilities.

71
Multi-Selectmedium

You are designing an MLOps pipeline on Azure Kubernetes Service (AKS) for a computer vision model. You need to configure GPU sharing among multiple inference pods on the same node to optimize cost. Which TWO actions should you take? Each correct answer presents part of the solution.

Select 2 answers
A.Set the pod priority class to system-node-critical.
B.Enable GPU time-slicing or NVIDIA Multi-Instance GPU (MIG) configuration.
C.Deploy the KEDA scaler with an Azure Queue trigger.
D.Configure the Azure CNI plugin for dynamic IP allocation.
E.Install the NVIDIA GPU Operator on the AKS cluster.
AnswersB, E

Time-slicing or MIG allows multiple containers to concurrently execute workloads on a single physical GPU device.

Why this answer

To achieve GPU sharing in AKS, you can utilize the NVIDIA GPU Operator alongside Kubernetes device plugins or time-slicing features, which enable multiple containers to share a single physical GPU.

72
Multi-Selectmedium

When managing Azure Container Registry (ACR), administrators can use ACR Tasks to automate tasks. Which TWO scenarios are valid use cases for ACR Tasks? (Choose two.)

Select 2 answers
A.Triggering container image rebuilds automatically when a base image is updated
B.Providing a managed Kubernetes API control plane
C.Executing automated container vulnerability scans directly inside registry storage
D.Running a persistent, multi-node enterprise database cluster inside ACR
E.Automatically building container images when code is committed to a GitHub repository
AnswersA, E

ACR Tasks monitors base image dependencies and rebuilds dependent images when updates occur.

Why this answer

ACR Tasks supports automated container image builds on source code commits (CI) and automated OS/framework patching base image updates.

73
MCQmedium

You have a large AI model file (5GB) that needs to be loaded into your container at startup. What is the recommended way to handle this?

A.Download the model via `curl` at runtime.
B.Embed the model in the container image.
C.Use a base64 encoded string in the environment variable.
D.Mount the model from an Azure File Share.
AnswerD

Mounting external storage is the standard for large assets.

Why this answer

Mounting the file from Azure Blob Storage or an Azure File Share avoids bloating the container image and speeds up deployment.

74
MCQeasy

You need to inspect the environment variables and configuration settings of a running container group in Azure Container Instances. Which Azure CLI command should you use?

A.az container exec --exec-command env
B.az aks inspect
C.az container list-secrets
D.az container show --resource-group myRG --name myContainer
AnswerD

az container show outputs the detailed configuration properties of the container instance.

Why this answer

The 'az container show' command returns the full JSON representation of a container instance, including environment variables and settings.

75
MCQhard

You are configuring secure image signing and verification for your AI containers using Azure Container Registry and Notation. Which feature enables cryptographically signed container images?

A.ACR Signature Verification / Microsoft Defender artifact signing with Notation
B.Azure Key Vault managed HSM key rotation
C.ACR Georeplication sync tokens
D.Docker Content Trust (Notary v1)
AnswerA

Notation (COSE standard) enables signing and verifying container images stored in ACR.

Why this answer

ACR supports container signing using Microsoft SignWorks and the Notation CLI tool to verify image integrity before deployment.

Page 1 of 2 · 117 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Containerized AI Workloads questions.