Unit 3: Secure Compute and Storage - Practice Quiz

INT328 — Network Virtualization And Cloud Security 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the primary purpose of Azure Bastion?

Azure Bastion Easy
A. To manage container images
B. To store virtual machine backups
C. To monitor application performance
D. To provide secure RDP and SSH access

2 Which feature is generally not required on a virtual machine when it is accessed through Azure Bastion?

Azure Bastion Easy
A. A private IP address
B. A public IP address
C. An operating system
D. A network interface

3 Which specially named subnet is used to deploy Azure Bastion?

Azure Bastion Easy
A. AzureContainerSubnet
B. AzureFirewallSubnet
C. AzureBastionSubnet
D. AzureGatewaySubnet

4 What is the main purpose of Just-in-Time virtual machine access?

Just-in-Time virtual machine access Easy
A. To create virtual machines automatically
B. To limit management access to approved periods
C. To keep management ports permanently open
D. To replicate virtual machines across regions

5 Which management ports are commonly protected by Just-in-Time virtual machine access?

Just-in-Time virtual machine access Easy
A. SMTP and IMAP ports
B. HTTP and HTTPS ports
C. DNS and DHCP ports
D. RDP and SSH ports

6 What happens after an approved Just-in-Time access period expires?

Just-in-Time virtual machine access Easy
A. The public IP is replaced
B. The operating system is restarted
C. The requested access is removed
D. The virtual machine is deleted

7 What is Azure Kubernetes Service (AKS) primarily used for?

Azure Kubernetes Service (AKS) Easy
A. Managing virtual desktop sessions
B. Orchestrating containerized applications
C. Creating network security groups
D. Archiving long-term log files

8 In AKS, what is a pod?

Azure Kubernetes Service (AKS) Easy
A. A dashboard that displays security alerts
B. A registry that stores container images
C. A unit that runs one or more containers
D. A firewall that filters network traffic

9 Which component does Azure manage in a standard AKS cluster?

Azure Kubernetes Service (AKS) Easy
A. The Kubernetes control plane
B. The application source code
C. The user account passwords
D. The container image content

10 Which Azure service provides a logically isolated network for cloud resources?

Network isolation Easy
A. Azure DevOps
B. Azure Cost Management
C. Azure Virtual Network
D. Azure Advisor

11 What is the primary function of a Network Security Group (NSG)?

Network isolation Easy
A. To schedule virtual machine backups
B. To store encryption keys
C. To filter inbound and outbound traffic
D. To build and publish container images

12 What does an Azure private endpoint provide?

Network isolation Easy
A. A backup copy of a virtual network
B. A private IP address for a service
C. A shared password for administrators
D. A public URL for every resource

13 Which Azure service collects and analyzes metrics and logs from Azure resources?

Monitor services Easy
A. Azure Container Registry
B. Azure Kubernetes Service
C. Azure Bastion
D. Azure Monitor

14 What is a metric in Azure Monitor?

Monitor services Easy
A. A rule used to route network traffic
B. A password assigned to a resource
C. A numerical value measured over time
D. A file used to build a container

15 What is the purpose of an Azure Monitor alert?

Monitor services Easy
A. To store a container image
B. To notify or act when a condition occurs
C. To assign a private IP address
D. To create a new subscription

16 Which Azure service provides cloud-based identity and authentication?

Authentication services Easy
A. Azure Load Balancer
B. Azure Virtual Network
C. Azure Blob Storage
D. Microsoft Entra ID

17 What does multi-factor authentication require?

Authentication services Easy
A. Two or more forms of verification
B. Two or more container images
C. Two or more storage accounts
D. Two or more virtual networks

18 What is a key benefit of using a managed identity for an Azure resource?

Authentication services Easy
A. It increases the resource's disk capacity
B. It disables all network security rules
C. It creates a public endpoint automatically
D. It removes the need to store credentials

19 What is Azure Container Registry primarily used to store?

Manage Azure Container Registry Easy
A. Kubernetes control planes
B. Network monitoring alerts
C. Virtual machine passwords
D. Private container images

20 Which Azure CLI command is used to sign in to an Azure Container Registry?

Manage Azure Container Registry Easy
A. az network open
B. az aks connect
C. az acr login
D. az vm login

21 A company needs administrators to connect to Azure virtual machines without assigning public IP addresses to those machines. Which solution best meets this requirement?

Azure Bastion Medium
A. Azure Application Gateway
B. Azure Traffic Manager
C. Azure Load Balancer
D. Azure Bastion

22 An administrator wants to use Azure Bastion to connect to a virtual machine in a virtual network. Which subnet configuration is required for Bastion?

Azure Bastion Medium
A. A subnet named AzureBastionSubnet
B. A subnet named AzureFirewallSubnet
C. A subnet named ManagementSubnet
D. A subnet named GatewaySubnet

23 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?

Azure Bastion Medium
A. Private DNS forwarding
B. Container image scanning
C. Portal-based RDP and SSH
D. Automatic disk encryption

24 A virtual machine normally receives no inbound management traffic, but administrators occasionally need SSH access. Which Just-in-Time configuration is most appropriate?

Just-in-Time virtual machine access Medium
A. Allow SSH only for approved time windows
B. Allow SSH permanently from all networks
C. Allow RDP permanently from one subnet
D. Allow HTTP only during business hours

25 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?

Just-in-Time virtual machine access Medium
A. The virtual machine is automatically stopped
B. The public IP address is deleted
C. The security rule is removed or closed
D. The administrator account is disabled

26 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?

Just-in-Time virtual machine access Medium
A. The required management ports are controlled by an NSG
B. The VM is configured as a domain controller
C. The VM has a public load balancer
D. The VM uses premium managed disks

27 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?

Azure Kubernetes Service (AKS) Medium
A. Azure Logic Apps
B. Azure Batch
C. Azure Kubernetes Service
D. Azure Functions

28 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?

Azure Kubernetes Service (AKS) Medium
A. Route database traffic through Azure CDN
B. Expose the database through a public IP
C. Store database credentials in pod labels
D. Deploy AKS with virtual network integration

29 An AKS application must access Azure Storage without storing a long-lived storage key in a container image. Which approach is most appropriate?

Azure Kubernetes Service (AKS) Medium
A. Use the cluster administrator password
B. Use a managed identity with suitable permissions
C. Embed the storage key in the application code
D. Place the storage key in a ConfigMap

30 A three-tier application contains web, application, and database virtual machines. Which network isolation design best limits lateral movement?

Network isolation Medium
A. Use separate subnets with restrictive NSG rules
B. Assign public IPs to every virtual machine
C. Allow all internal traffic between subnets
D. Place every tier in one unrestricted subnet

31 A database should be reachable from an application subnet but not from the public internet. Which Azure design is most suitable?

Network isolation Medium
A. Place the database behind a public DNS record
B. Use a private endpoint and subnet restrictions
C. Allow database traffic from any source
D. Assign the database a public IP address

32 A workload must connect to an Azure service using an address that remains within the organization's virtual network. Which feature should be considered?

Network isolation Medium
A. Public load balancing
B. Azure Front Door
C. Internet-facing DNS
D. Private Link

33 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?

Monitor services Medium
A. Application Insights dependency tracking
B. Azure Cost Management budgets
C. Azure resource tagging
D. Azure Policy compliance reports

34 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?

Monitor services Medium
A. A resource lock
B. A metric alert
C. A diagnostic setting
D. A service health bookmark

35 Security analysts need to query sign-in events and administrative activity across multiple Azure resources. Which destination is best suited for this analysis?

Monitor services Medium
A. A virtual machine availability set
B. A Log Analytics workspace
C. An Azure Bastion subnet
D. A storage account static website

36 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?

Authentication services Medium
A. Azure Virtual Network
B. Azure Storage
C. Microsoft Entra ID
D. Azure DNS

37 An administrator wants to require a second verification method when users sign in from an unfamiliar location. Which control addresses this requirement?

Authentication services Medium
A. Conditional Access with multifactor authentication
B. A storage lifecycle policy
C. A network security group rule
D. An availability zone assignment

38 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?

Authentication services Medium
A. Store a service principal secret in a script
B. Make the Key Vault publicly writable
C. Use the developer's personal password
D. Assign a managed identity to the virtual machine

39 A deployment pipeline must push container images to Azure Container Registry without using an administrator account. Which option provides the most appropriate access model?

Manage Azure Container Registry Medium
A. Share the registry owner password
B. Use a public storage account key
C. Use a service principal with scoped permissions
D. Enable anonymous push access

40 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?

Manage Azure Container Registry Medium
A. Attach the AcrPull role to the AKS identity
B. Grant the cluster the Owner role
C. Add the registry password to every pod
D. Make the registry publicly accessible

41 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?

Azure Bastion Hard
A. The spoke VMs use Azure-provided DNS instead of custom DNS servers
B. The hub-to-spoke peering permits virtual network access in both directions
C. The spoke route tables propagate the hub virtual network gateway routes
D. The hub contains a NAT Gateway associated with AzureBastionSubnet

42 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?

Azure Bastion Hard
A. Allow TCP 443 from the AzureBastionSubnet address prefix
B. Allow TCP 22 and 3389 from the AzureBastionSubnet address prefix
C. Allow TCP 22 and 3389 from the AzureLoadBalancer service tag
D. Allow TCP 443 from the Internet service tag

43 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?

Azure Bastion Hard
A. Deploy the Premium SKU and enable native client support plus session recording
B. Deploy the Developer SKU and enable IP-based connections plus packet capture
C. Deploy the Basic SKU and enable shareable links plus diagnostic settings
D. Deploy the Standard SKU and enable tunneling plus NSG flow logs

44 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?

Just-in-Time virtual machine access Hard
A. The existing deny rule is permanently replaced with a source-specific allow rule
B. A higher-priority temporary NSG rule allows that source until access expires
C. A temporary public IP address is assigned to the VM for two hours
D. An Azure Bastion tunnel is automatically created for the approved source

45 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?

Just-in-Time virtual machine access Hard
A. An Azure Firewall network rule governing the VM's management traffic
B. An Azure Firewall application rule governing HTTPS management traffic
C. A route table entry governing the VM's outbound default route
D. A DNS proxy rule governing resolution of the VM's private address

46 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?

Just-in-Time virtual machine access Hard
A. Request a duration no longer than the configured three-hour maximum
B. Replace the /32 source with the VM subnet's address prefix
C. Change the protected port from TCP 22 to TCP 443
D. Assign a static public IP address to the target VM

47 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?

Azure Kubernetes Service (AKS) Hard
A. Assign the cluster control-plane identity to each pod specification
B. Enable OIDC issuer and workload identity, then federate a service account
C. Grant the kubelet managed identity direct access to every required vault
D. Store a service principal secret in a namespace-scoped Kubernetes Secret

48 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?

Azure Kubernetes Service (AKS) Hard
A. A user-defined route from the node subnet to the Kubernetes service CIDR
B. A route from on-premises to the private endpoint address used by the API server
C. A NAT Gateway association on the subnet containing the API server endpoint
D. A public DNS record mapping the API server name to a public frontend

49 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?

Azure Kubernetes Service (AKS) Hard
A. Image pulls are performed by CoreDNS through the application's egress policy
B. Image pulls are performed by the node's kubelet before the application pod runs
C. Image pulls are performed by the ingress controller after the pod becomes ready
D. Image pulls are performed by the API server through the pod's service account

50 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?

Azure Kubernetes Service (AKS) Hard
A. 10 pods
B. 12 pods
C. 11 pods
D. 20 pods

51 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?

Network isolation Hard
A. Add the Storage service tag to the spoke subnet NSG
B. Link the appropriate Private DNS zone to the hub virtual network
C. Enable a service endpoint on the hub client subnet
D. Advertise the storage public prefix through the hub gateway

52 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?

Network isolation Hard
A. Replace both private endpoints with subnet service endpoints for Key Vault
B. Use one record with both IPs and rely on virtual network peering preferences
C. Use separate DNS resolution scopes so each network returns only its local endpoint
D. Keep both records and rely on DNS round-robin to select the nearest endpoint

53 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?

Network isolation Hard
A. Create a private endpoint, configure private DNS, and disable public network access
B. Add a user-defined route for Storage, configure BGP, and remove the subnet rule
C. Create an application gateway, enable WAF, and allow only its public frontend
D. Retain the service endpoint, add a NAT Gateway, and deny Internet outbound traffic

54 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?

Monitor services Hard
A. Create an Azure Monitor alert rule that preserves every matching log entry
B. Increase the Activity Log retention property on each Azure subscription
C. Enable VM insights and set each virtual machine heartbeat retention to three years
D. Export the Activity Log through a diagnostic setting to a Log Analytics workspace

55 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?

Monitor services Hard
A. The Network Watcher topology and connection monitor test group
B. The VM boot diagnostics storage account and screenshot retention
C. The data collection rule and its association with the virtual machine
D. The subscription Activity Log diagnostic setting and event categories

56 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?

Monitor services Hard
A. A service health alert scoped to the AKS resource provider
B. A metric alert on the cluster's average CPU percentage over ten minutes
C. An Activity Log alert for virtual machine deallocation operations
D. A scheduled query alert that summarizes missing heartbeat data by node

57 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?

Authentication services Hard
A. A service principal whose client secret is stored in VM metadata
B. A user-assigned managed identity attached to each replacement VM
C. A system-assigned managed identity enabled on each replacement VM
D. A device identity registered through Microsoft Entra join

58 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?

Authentication services Hard
A. Assign the Reader role at the subscription scope to the managed identity
B. Add the identity as an owner of the Microsoft Entra tenant
C. Regenerate both storage account access keys and restart the workload
D. Assign an appropriate Storage Blob Data role to the managed identity

59 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?

Manage Azure Container Registry Hard
A. Enable the registry admin account and store its password in every namespace
B. Grant the kubelet identity the registry's image-pull data-plane role
C. Grant each application's service account Reader on the registry resource
D. Grant the control-plane identity Contributor on the AKS resource group

60 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?

Manage Azure Container Registry Hard
A. A public CNAME that maps the registry endpoint directly to the client subnet
B. Private DNS records for both the registry endpoint and its regional data endpoint
C. A reverse DNS zone containing PTR records for every registry image layer
D. A private DNS record only for the Azure Resource Manager management endpoint