Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Which Azure CLI command is used to sign in to an Azure Container Registry?
Not quite. Try another option.
Answer: az acr login
The az acr login command authenticates the current user or service with an Azure Container Registry.
Question 21 of 60 · Azure Bastion · Medium
A company needs administrators to connect to Azure virtual machines without assigning public IP addresses to those machines. Which solution best meets this requirement?
Not quite. Try another option.
Answer: Azure Bastion
Azure Bastion provides browser-based RDP and SSH access through the Azure portal without requiring public IP addresses on the target virtual machines.
Question 22 of 60 · Azure Bastion · Medium
An administrator wants to use Azure Bastion to connect to a virtual machine in a virtual network. Which subnet configuration is required for Bastion?
Not quite. Try another option.
Answer: A subnet named AzureBastionSubnet
Azure Bastion must be deployed in a dedicated subnet named AzureBastionSubnet within the virtual network.
Question 23 of 60 · Azure Bastion · Medium
A security team wants to reduce exposure from administrative protocols while still allowing support staff to connect to virtual machines from a web browser. Which Bastion capability is most relevant?
Not quite. Try another option.
Answer: Portal-based RDP and SSH
Bastion enables RDP and SSH connections through the Azure portal, reducing the need to expose those protocols directly to the internet.
Question 24 of 60 · Just-in-Time virtual machine access · Medium
A virtual machine normally receives no inbound management traffic, but administrators occasionally need SSH access. Which Just-in-Time configuration is most appropriate?
Not quite. Try another option.
Answer: Allow SSH only for approved time windows
Just-in-Time access opens selected management ports for a limited duration and restricts access to approved source addresses.
Question 25 of 60 · Just-in-Time virtual machine access · Medium
A Just-in-Time request opens TCP port 3389 for two hours from an administrator's public IP address. What happens when the approved period ends?
Not quite. Try another option.
Answer: The security rule is removed or closed
When the Just-in-Time duration expires, the temporary network access rule is closed, reducing the VM's exposure to management traffic.
Question 26 of 60 · Just-in-Time virtual machine access · Medium
A security engineer wants to use Just-in-Time VM access, but inbound rules are managed by a network security group. What should the engineer verify first?
Not quite. Try another option.
Answer: The required management ports are controlled by an NSG
Just-in-Time access works by managing temporary inbound access rules, so the relevant management ports must be governed by a network security group.
Question 27 of 60 · Azure Kubernetes Service (AKS) · Medium
An organization wants Azure to manage the Kubernetes control plane while its team focuses on deploying applications and configuring worker nodes. Which service should it use?
Not quite. Try another option.
Answer: Azure Kubernetes Service
AKS is a managed Kubernetes service that reduces the operational burden of maintaining the Kubernetes control plane.
Question 28 of 60 · Azure Kubernetes Service (AKS) · Medium
A company needs pods in an AKS cluster to access a database hosted in a protected Azure virtual network. Which design best supports this requirement?
Not quite. Try another option.
Answer: Deploy AKS with virtual network integration
Virtual network integration allows AKS workloads to communicate with private resources through controlled network routes and security rules.
Question 29 of 60 · Azure Kubernetes Service (AKS) · Medium
An AKS application must access Azure Storage without storing a long-lived storage key in a container image. Which approach is most appropriate?
Not quite. Try another option.
Answer: Use a managed identity with suitable permissions
Managed identities allow applications to authenticate to Azure resources without embedding long-lived secrets in images or source code.
Question 30 of 60 · Network isolation · Medium
A three-tier application contains web, application, and database virtual machines. Which network isolation design best limits lateral movement?
Not quite. Try another option.
Answer: Use separate subnets with restrictive NSG rules
Separate subnets combined with least-privilege NSG rules limit which tiers can communicate and reduce the impact of a compromised workload.
Question 31 of 60 · Network isolation · Medium
A database should be reachable from an application subnet but not from the public internet. Which Azure design is most suitable?
Not quite. Try another option.
Answer: Use a private endpoint and subnet restrictions
A private endpoint provides private connectivity to the database, while subnet and NSG rules restrict which application resources can reach it.
Question 32 of 60 · Network isolation · Medium
A workload must connect to an Azure service using an address that remains within the organization's virtual network. Which feature should be considered?
Not quite. Try another option.
Answer: Private Link
Azure Private Link provides private access to supported Azure services through a private endpoint in the consumer's virtual network.
Question 33 of 60 · Monitor services · Medium
A platform team needs to determine whether increased response times are caused by an application dependency or by the application itself. Which Azure Monitor capability is most useful?
Not quite. Try another option.
Answer: Application Insights dependency tracking
Application Insights tracks requests and dependencies, helping identify whether delays originate in the application or in an external service.
Question 34 of 60 · Monitor services · Medium
An operations team wants an alert whenever a virtual machine's average CPU usage exceeds 80 percent for five minutes. Which Azure Monitor feature should it configure?
Not quite. Try another option.
Answer: A metric alert
Metric alerts evaluate numerical platform metrics against thresholds over a specified time period.
Question 35 of 60 · Monitor services · Medium
Security analysts need to query sign-in events and administrative activity across multiple Azure resources. Which destination is best suited for this analysis?
Not quite. Try another option.
Answer: A Log Analytics workspace
A Log Analytics workspace stores and queries collected logs, including activity and authentication data when the appropriate diagnostic sources are configured.
Question 36 of 60 · Authentication services · Medium
A company wants employees to use one identity for Azure resources and several SaaS applications, with centralized sign-in controls. Which service should it use?
Not quite. Try another option.
Answer: Microsoft Entra ID
Microsoft Entra ID provides cloud identity, authentication, single sign-on, and access management for Azure and integrated applications.
Question 37 of 60 · Authentication services · Medium
An administrator wants to require a second verification method when users sign in from an unfamiliar location. Which control addresses this requirement?
Not quite. Try another option.
Answer: Conditional Access with multifactor authentication
Conditional Access evaluates sign-in conditions and can require multifactor authentication when risk or location rules indicate additional verification is needed.
Question 38 of 60 · Authentication services · Medium
An application running on an Azure virtual machine must read secrets from Key Vault without storing credentials in its configuration files. Which approach is preferred?
Not quite. Try another option.
Answer: Assign a managed identity to the virtual machine
A managed identity gives the VM an Azure identity that can be granted Key Vault permissions without managing application-held credentials.
Question 39 of 60 · Manage Azure Container Registry · Medium
A deployment pipeline must push container images to Azure Container Registry without using an administrator account. Which option provides the most appropriate access model?
Not quite. Try another option.
Answer: Use a service principal with scoped permissions
A service principal can authenticate the pipeline and receive only the permissions required to push images, following least-privilege principles.
Question 40 of 60 · Manage Azure Container Registry · Medium
A team wants an AKS cluster to pull private images from Azure Container Registry without placing registry credentials in Kubernetes manifests. What should the team configure?
Not quite. Try another option.
Answer: Attach the AcrPull role to the AKS identity
Granting the AKS managed identity the AcrPull role allows it to retrieve private images without distributing registry passwords.
Question 41 of 60 · Azure Bastion · Hard
A company deploys Azure Bastion in a hub virtual network. Virtual machines reside in peered spoke virtual networks and have no public IP addresses. Administrators can open Bastion sessions to hub VMs but not to spoke VMs. Which configuration should be verified first?
Not quite. Try another option.
Answer: The hub-to-spoke peering permits virtual network access in both directions
Bastion can connect to VMs in peered virtual networks, but the peerings must allow virtual network access in both directions. Gateway propagation, Azure DNS, and NAT Gateway association are not prerequisites for the private RDP or SSH path.
Question 42 of 60 · Azure Bastion · Hard
An NSG protects a target VM subnet. Administrators reach the VMs only through Azure Bastion, and direct RDP or SSH from all other sources must be blocked. Which inbound rule most precisely permits the required traffic?
Not quite. Try another option.
Answer: Allow TCP 22 and 3389 from the AzureBastionSubnet address prefix
Bastion reaches target VMs over their private IP addresses using RDP port 3389 or SSH port 22. HTTPS port 443 is used between the client and Bastion, not between Bastion and the target VM.
Question 43 of 60 · Azure Bastion · Hard
Security policy requires administrators to use their local SSH clients while Azure Bastion transports the connection to private Linux VMs. The team also needs Bastion session recording. Which design satisfies both requirements?
Not quite. Try another option.
Answer: Deploy the Premium SKU and enable native client support plus session recording
Native client connectivity requires Bastion tunneling support, while session recording is a Premium capability. NSG flow logs and diagnostic settings can record network or service telemetry, but they do not provide replayable Bastion session recordings.
Question 44 of 60 · Just-in-Time virtual machine access · Hard
A VM protected by an NSG has Just-in-Time access configured for TCP 3389. An approved request is made for one administrator's public IP address for two hours. What change should the administrator expect?
Not quite. Try another option.
Answer: A higher-priority temporary NSG rule allows that source until access expires
JIT locks down management ports and creates a time-bound, source-specific allow rule after approval. It does not assign public IP addresses, provision Bastion, or permanently replace the protective rules.
Question 45 of 60 · Just-in-Time virtual machine access · Hard
A VM's effective route sends Internet-bound traffic through Azure Firewall, and no NSG is associated with its NIC or subnet. The VM is configured for JIT access. Which control must JIT be able to modify to grant an approved SSH request?
Not quite. Try another option.
Answer: An Azure Firewall network rule governing the VM's management traffic
When Azure Firewall controls the applicable inbound path, JIT uses firewall network rules to open the requested management port temporarily. Application rules are for FQDN-oriented application traffic, while routing and DNS rules do not authorize SSH.
Question 46 of 60 · Just-in-Time virtual machine access · Hard
A security engineer enables JIT on TCP 22 with a three-hour maximum duration. A developer requests access from 203.0.113.20/32 for four hours, but the request is rejected before any rule is created. Which change addresses the rejection without broadening source access?
Not quite. Try another option.
Answer: Request a duration no longer than the configured three-hour maximum
A JIT request must comply with the port's configured maximum access duration. Reducing the requested time preserves the narrow /32 source scope and does not require a different port or public IP configuration.
Question 47 of 60 · Azure Kubernetes Service (AKS) · Hard
Pods in AKS must access Azure Key Vault without Kubernetes secrets, without node-level identity permissions, and without the deprecated pod-managed identity mechanism. Which configuration best meets the requirement?
Not quite. Try another option.
Answer: Enable OIDC issuer and workload identity, then federate a service account
Microsoft Entra Workload ID uses the cluster's OIDC issuer and a federated identity credential to map a Kubernetes service account to an Azure identity. This avoids stored credentials and prevents all pods from inheriting node-wide permissions.
Question 48 of 60 · Azure Kubernetes Service (AKS) · Hard
An AKS private cluster resolves its API server name correctly from the hub network, but administrators on-premises cannot connect over ExpressRoute. Network security rules allow TCP 443. Which missing element is the most likely cause?
Not quite. Try another option.
Answer: A route from on-premises to the private endpoint address used by the API server
Correct DNS proves name resolution, but clients still require private network reachability to the API server's private endpoint address. A public record or NAT Gateway would contradict the private-access design.
Question 49 of 60 · Azure Kubernetes Service (AKS) · Hard
An AKS cluster enforces a default-deny egress network policy. Application pods must retrieve images from ACR during startup, so the team adds an egress rule to the application pods. Image pulls still fail. Why?
Not quite. Try another option.
Answer: Image pulls are performed by the node's kubelet before the application pod runs
The kubelet and container runtime on the node pull images before the workload container starts. A pod-level egress policy therefore does not authorize the node's registry connection; node identity, DNS, routing, firewall, and ACR access must be correct.
Question 50 of 60 · Azure Kubernetes Service (AKS) · Hard
A deployment has 10 replicas, maxUnavailable: 0, and maxSurge: 20%. During a rolling update, what is the maximum number of pods that may exist simultaneously for this deployment?
Not quite. Try another option.
Answer: 12 pods
A 20% surge over 10 replicas permits additional pods, so up to 12 may exist during the rollout. maxUnavailable: 0 preserves all 10 desired available replicas but does not disable surge capacity.
Question 51 of 60 · Network isolation · Hard
A storage account disables public network access and exposes a private endpoint in a spoke virtual network. Clients in a peered hub resolve the account name to its public IP and fail to connect. Routing between the networks works. What is the most direct fix?
Not quite. Try another option.
Answer: Link the appropriate Private DNS zone to the hub virtual network
Private Endpoint clients must resolve the service FQDN to the endpoint's private IP. Linking the relevant Private DNS zone, or forwarding equivalent private DNS records, corrects resolution for hub clients.
Question 52 of 60 · Network isolation · Hard
Two private endpoints for the same Key Vault are created in separate virtual networks. A central private DNS zone is linked to both networks and contains records for both endpoint IPs. Clients must always use the endpoint local to their own network. Which design is most reliable?
Not quite. Try another option.
Answer: Use separate DNS resolution scopes so each network returns only its local endpoint
A shared zone with multiple A records can return either endpoint and does not understand network locality. Split DNS scopes, separate zones with controlled links, or DNS policies should ensure each client receives only its intended private IP.
Question 53 of 60 · Network isolation · Hard
A subnet uses a Storage service endpoint, and a storage firewall allows that subnet. Security now requires the storage account to have a private IP in the virtual network and to reject every public-endpoint path. What must change?
Not quite. Try another option.
Answer: Create a private endpoint, configure private DNS, and disable public network access
A service endpoint still accesses the service's public endpoint using optimized Azure routing. Private Link assigns a private endpoint IP, while private DNS directs clients to it and disabling public network access closes public paths.
Question 54 of 60 · Monitor services · Hard
Azure Activity Log entries are visible for only the platform's standard retention period, but an auditor requires queryable records for three years. Which configuration is appropriate?
Not quite. Try another option.
Answer: Export the Activity Log through a diagnostic setting to a Log Analytics workspace
A subscription diagnostic setting can export Activity Log categories to Log Analytics, where workspace or table retention can be configured. Alerts evaluate records but are not a long-term archive, and VM insights does not retain subscription control-plane events.
Question 55 of 60 · Monitor services · Hard
Azure Monitor Agent is installed on a VM, but a custom application log is not arriving in Log Analytics. Heartbeats from the VM are present. Which configuration should be inspected first?
Not quite. Try another option.
Answer: The data collection rule and its association with the virtual machine
Azure Monitor Agent uses a data collection rule to define sources, transformations, and destinations, and the rule must be associated with the VM. Heartbeats show that the agent communicates, but they do not prove the custom log source is configured.
Question 56 of 60 · Monitor services · Hard
An alert must fire when more than five distinct AKS nodes stop sending heartbeats during a ten-minute window. Which Azure Monitor design most directly expresses this requirement?
Not quite. Try another option.
Answer: A scheduled query alert that summarizes missing heartbeat data by node
The condition depends on log records, time-window analysis, grouping by node, and a distinct-count threshold. A scheduled query alert can express those operations; CPU, Activity Log, and Service Health signals do not directly represent missing node heartbeats.
Question 57 of 60 · Authentication services · Hard
An Azure VM application must call Azure Resource Manager without storing credentials. The VM may be deleted and recreated, but the application's Azure identity and role assignments must remain unchanged. Which identity should be used?
Not quite. Try another option.
Answer: A user-assigned managed identity attached to each replacement VM
A user-assigned managed identity has an independent lifecycle and can be reattached to replacement resources while retaining its principal and role assignments. A system-assigned identity is deleted with its VM.
Question 58 of 60 · Authentication services · Hard
A workload uses a managed identity to request a token for Azure Storage successfully, but Blob data access returns HTTP 403. The identity has the Contributor role on the storage account. What is the most likely correction?
Not quite. Try another option.
Answer: Assign an appropriate Storage Blob Data role to the managed identity
The Contributor role grants management-plane permissions but does not grant Blob data-plane access through Microsoft Entra ID. A role such as Storage Blob Data Reader or Storage Blob Data Contributor is required.
Question 59 of 60 · Manage Azure Container Registry · Hard
An AKS cluster uses its kubelet managed identity to pull images from a private Azure Container Registry. The registry disables local admin credentials, and image pulls return 401 Unauthorized. Network connectivity is confirmed. Which action is required?
Not quite. Try another option.
Answer: Grant the kubelet identity the registry's image-pull data-plane role
AKS image pulls are performed by the kubelet identity, which needs the applicable ACR pull permission, commonly AcrPull in registries using the classic RBAC model. Application service accounts and the control-plane identity do not perform the node image pull.
Question 60 of 60 · Manage Azure Container Registry · Hard
A security team enables a private endpoint for Azure Container Registry and disables public network access. Clients resolve myregistry.azurecr.io privately, but image layer downloads fail because the registry's data endpoint resolves publicly. What DNS configuration is missing?
Not quite. Try another option.
Answer: Private DNS records for both the registry endpoint and its regional data endpoint
ACR Private Link requires private resolution for the registry login endpoint and the applicable regional data endpoint used to transfer image content. Resolving only the login endpoint can allow authentication while layer operations still follow an unusable public path.
That's unit 3
Answer a few questions and your score shows up here.
Nearly through. Did unit 3 of INT328 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 3 of INT328 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.