Courseiva

CCNA Describe Azure architecture and services Questions

9 of 384 questions · Page 6/6 · Describe Azure architecture and services · Answers revealed

376
MCQmedium

A company uses Azure Blob Storage to store archival backups of financial records. The company requires that the data is protected against a complete regional outage by replicating it to another Azure region. However, they do not need to access the replicated copy unless the primary region fails. The company wants to minimize storage costs while meeting this requirement. Which type of storage replication should the company configure?

A.Locally redundant storage (LRS)
B.Geo-redundant storage (GRS)
C.Zone-redundant storage (ZRS)
D.Read-access geo-redundant storage (RA-GRS)
AnswerB

GRS replicates data asynchronously to a paired secondary region. It provides protection against a complete regional outage without offering read access to the secondary copy, which keeps costs lower than RA-GRS. This meets the company's requirement.

Why this answer

Geo-redundant storage (GRS) replicates your data synchronously three times within the primary region using LRS, then asynchronously to a secondary region hundreds of miles away. This meets the requirement of protecting against a complete regional outage while minimizing costs, because the secondary copy is not accessible for reads unless Microsoft initiates a failover, and GRS is less expensive than RA-GRS which includes read-access to the secondary region.

Exam trap

The trap here is that candidates often confuse GRS with RA-GRS, assuming that geo-replication automatically provides read access to the secondary copy, but RA-GRS is a separate, more expensive SKU that enables continuous read access, which is not required when you only need failover capability.

Why the other options are wrong

A

LRS only replicates data within a single datacenter in the primary region, so it does not protect against a complete regional outage, which is a key requirement in the question.

C

ZRS replicates data synchronously across three Azure availability zones within a single region, not across regions. It does not protect against a complete regional outage, which requires geo-replication to a secondary region.

D

RA-GRS provides read access to the secondary region, which is not required because the company only needs access during a primary region failure. This adds unnecessary cost compared to GRS.

377
MCQmedium

A company needs to run a large-scale batch processing job that runs daily for several hours. The job can tolerate interruptions if compute capacity is reclaimed. They want to minimize compute costs. Which Azure compute service is most cost-effective for this scenario?

A.Azure Virtual Machines
B.Azure Batch with low-priority VMs
C.Azure Functions
D.Azure Container Instances
AnswerB

Azure Batch is a managed service built specifically for parallel and large-scale batch computing. By using low-priority (Spot) VMs, you leverage Azure's surplus compute capacity at a substantial discount compared to pay-as-you-go pricing, while Azure Batch automatically schedules tasks, handles retries, and scales the pool based on the job's queue. Since your workload is daily, interruptible, and large, low-priority VMs are the most cost-effective and operationally appropriate choice.

Why this answer

Azure Batch with low-priority VMs is the most cost-effective option because it allows you to run large-scale batch jobs using surplus Azure capacity at a significantly reduced cost (up to 80% less than dedicated VMs). The job can tolerate interruptions, and low-priority VMs can be preempted when Azure needs the capacity back, making this a perfect fit for the scenario.

Exam trap

The trap here is that candidates often choose Azure Functions thinking it is always the cheapest serverless option, but they overlook its execution time limits and unsuitability for long-running batch jobs, while Azure Batch with low-priority VMs is specifically designed for cost-effective, interruptible batch processing.

Why the other options are wrong

A

Azure Virtual Machines do not offer the low-priority or preemptible pricing that allows significant cost savings for interruptible batch workloads. They are billed per hour regardless of usage, making them more expensive for large-scale daily batch jobs that can tolerate interruptions.

C

Azure Functions is event-driven and designed for short-lived, stateless workloads, not for large-scale batch processing that runs for several hours daily. It has a maximum execution timeout (default 5 minutes, up to 10 minutes for premium plan) and cannot tolerate interruptions by reclaiming compute capacity.

D

Azure Container Instances are designed for short-lived, bursty workloads, not long-running batch jobs. They lack the preemption capability of low-priority VMs, so they cannot tolerate interruptions to minimize costs.

378
MCQmedium

Which Azure service provides a managed Apache Kafka-compatible event streaming service for ingesting millions of events per second?

A.Azure Service Bus
B.Azure Event Grid
C.Azure Event Hubs
D.Azure Queue Storage
AnswerC

Azure Event Hubs is a fully managed event streaming platform that ingests millions of events per second over AMQP or Kafka-compatible protocols. It partitions event data for ordering, retains events for replay, and scales via throughput units, making it the correct choice for high-volume telemetry and log pipelines.

Why this answer

Azure Event Hubs is a fully managed, real-time data ingestion service that is natively compatible with Apache Kafka, allowing you to use existing Kafka clients and tooling to stream millions of events per second. It provides a partitioned consumer model, high throughput, and low-latency event ingestion, making it the correct choice for a managed Kafka-compatible event streaming service.

Exam trap

The trap here is that candidates often confuse Azure Event Hubs with Azure Service Bus because both handle messages, but Service Bus is a broker for enterprise messaging with features like dead-letter queues and sessions, whereas Event Hubs is a streaming platform optimized for high-throughput, Kafka-compatible event ingestion.

How to eliminate wrong answers

Option A is wrong because Azure Service Bus is a fully managed enterprise message broker that supports queues and publish-subscribe topics, but it is not Apache Kafka-compatible and is designed for reliable message delivery with features like sessions and transactions, not high-throughput event streaming. Option B is wrong because Azure Event Grid is a serverless event routing service that uses a publish-subscribe model for reacting to discrete events (e.g., resource state changes), but it does not support Apache Kafka protocol or provide a streaming buffer for ingesting millions of events per second. Option D is wrong because Azure Queue Storage is a simple, cost-effective message queue service for storing and retrieving messages via HTTP/HTTPS, but it lacks Kafka compatibility, high-throughput streaming capabilities, and is not designed for real-time event ingestion at scale.

379
MCQmedium

Company A deploys several Linux virtual machines (VMs) across multiple Azure availability zones in the West US region. The VMs run a cluster application that needs to read and write data concurrently to a shared file system. The solution must support the Server Message Block (SMB) protocol and must be accessible from all zones with low latency. Which Azure storage service should the company use?

A.Azure Files
B.Azure Blob Storage
C.Azure Managed Disks
D.Azure Queue Storage
AnswerA

Azure Files provides fully managed file shares that are accessible via the SMB protocol, which can be mounted by multiple Linux VMs concurrently. These shares reside in Azure storage accounts and can be accessed across availability zones, enabling shared read/write access for applications. This directly meets the requirement for a common file system accessible by several VMs simultaneously.

Why this answer

Azure Files provides fully managed file shares in the cloud that support the SMB protocol, making it the correct choice for a shared file system accessible from multiple Azure availability zones with low latency. It allows concurrent read/write access from Linux VMs across zones, meeting the cluster application's requirements.

Exam trap

The trap here is that candidates often confuse Azure Blob Storage with Azure Files because both are storage services, but Blob Storage does not support the SMB protocol or concurrent file-level access from multiple VMs.

Why the other options are wrong

B

Azure Blob Storage does not support the SMB protocol for concurrent file sharing; it is optimized for object storage via REST APIs, not for a shared file system accessible as a network drive.

C

Azure Managed Disks provide block-level storage for VMs, not a shared file system accessible via SMB across availability zones. They are attached to a single VM and do not support concurrent multi-VM access with SMB protocol.

D

Azure Queue Storage is a messaging service for decoupling application components, not a shared file system. It does not support SMB protocol or concurrent file read/write operations across VMs.

380
MCQmedium

Which Azure service allows developers to build, train, and deploy machine learning models at scale using a managed cloud environment?

A.Azure Cognitive Services
B.Azure Machine Learning
C.Azure Bot Service
D.Azure Databricks
AnswerB

Azure Machine Learning is the correct answer because it is Microsoft's fully managed cloud platform for the entire machine learning lifecycle. It enables data preparation, model training with automated ML and hyperparameter tuning, model registration and versioning, deployment to Azure Kubernetes Service or other compute targets, and continuous monitoring of models in production. With integrated MLOps capabilities and a rich set of tools like the drag-and-drop designer and Jupyter notebooks, it is the dedicated service for building and operating custom ML models.

Why this answer

Azure Machine Learning is the correct service because it provides a fully managed cloud environment specifically designed for the end-to-end machine learning lifecycle, including building, training, and deploying models at scale. It offers capabilities like automated ML, pipeline orchestration, and integration with MLOps tools, which are not available in the other listed services.

Exam trap

The trap here is that candidates often confuse Azure Cognitive Services (pre-built AI) with Azure Machine Learning (custom model building), or they mistakenly think Azure Databricks is the primary ML service because of its Spark MLlib capabilities, but Azure Machine Learning is the dedicated managed service for the full ML lifecycle.

How to eliminate wrong answers

Option A is wrong because Azure Cognitive Services provides pre-built AI APIs for vision, speech, language, and decision-making, but it does not allow developers to build and train custom machine learning models from scratch. Option C is wrong because Azure Bot Service is a platform for creating conversational AI bots, not for building or training machine learning models. Option D is wrong because Azure Databricks is an Apache Spark-based analytics platform focused on big data processing and data engineering, and while it can be used for ML workloads, it is not a managed environment dedicated to the full ML lifecycle like Azure Machine Learning.

381
MCQmedium

Which Azure service provides secure access to Azure virtual machines using an HTML5 browser-based RDP and SSH connection without requiring public IP addresses?

A.Azure VPN Gateway
B.Azure Bastion
C.Azure Private Link
D.Azure Active Directory Application Proxy
AnswerB

Azure Bastion is the correct answer because it is a fully managed PaaS service that provides secure, browser-based RDP and SSH connectivity to Azure VMs directly from the Azure portal. It is deployed into a virtual network and allows VM access over TLS without requiring any public IP address to be assigned to the VM itself. Additionally, Bastion protects against port scanning and allows organizations to enforce Azure AD conditional access policies, making it the ideal solution for secure VM administration.

Why this answer

Azure Bastion is a fully managed PaaS service that provides secure and seamless RDP and SSH connectivity to Azure virtual machines directly through the Azure portal using an HTML5-based browser. It eliminates the need for public IP addresses on the VMs, as the connection is established over TLS within the same virtual network, bypassing exposure to the internet.

Exam trap

The trap here is that candidates often confuse Azure Bastion with Azure VPN Gateway or Azure AD Application Proxy, assuming any remote access solution can provide browser-based RDP/SSH without public IPs, but only Bastion is designed specifically for this purpose within Azure.

How to eliminate wrong answers

Option A is wrong because Azure VPN Gateway creates an encrypted tunnel between an on-premises network and Azure over the public internet, but it does not provide browser-based RDP/SSH access and still requires VMs to have private IP reachability, not eliminating the need for public IPs. Option C is wrong because Azure Private Link enables private connectivity to Azure services via private endpoints, but it does not offer RDP/SSH session management or a browser-based interface for VM access. Option D is wrong because Azure Active Directory Application Proxy provides secure remote access to on-premises web applications, not to Azure VMs via RDP/SSH, and it relies on public endpoints for the proxy service.

382
MCQmedium

Which Azure feature provides Just-In-Time (JIT) VM access to reduce the attack surface of management ports?

A.Azure Bastion
B.JIT VM Access in Microsoft Defender for Cloud
C.Azure AD Privileged Identity Management
D.Azure Key Vault Certificate access
AnswerB

JIT VM Access in Microsoft Defender for Cloud is a network-security feature that creates time-limited rules in an NSG (and optionally Azure Firewall) to permit inbound traffic to a VM's management port — commonly 3389 for RDP or 22 for SSH — only from the requesting user's IP address. When the approved session ends or the configured duration expires, Defender for Cloud automatically reverts the rules, removing the port exposure. This shrinks the VM attack surface by ensuring management ports are closed at all other times and aligns with the principle of least-privilege network access.

Why this answer

Just-In-Time (JIT) VM access in Microsoft Defender for Cloud reduces the attack surface by locking down inbound traffic to VMs, only opening management ports (e.g., RDP port 3389 or SSH port 22) when requested and for a specific time window. This is the correct feature because it directly implements JIT access to management ports, as described in the question.

Exam trap

The trap here is confusing Azure Bastion (which provides persistent secure access) with JIT VM Access (which dynamically opens and closes ports on demand), as both relate to securing VM management but solve different problems.

How to eliminate wrong answers

Option A is wrong because Azure Bastion provides secure, seamless RDP/SSH connectivity to VMs over TLS without exposing public IP addresses, but it does not implement Just-In-Time access or dynamically open/close ports. Option C is wrong because Azure AD Privileged Identity Management (PIM) manages just-in-time privileged role assignments for Azure AD and Azure resources, not VM-level network port access. Option D is wrong because Azure Key Vault Certificate access manages certificate lifecycle and secrets, not network-level access control to VM management ports.

383
MCQmedium

A company's data engineering team needs to process CSV files that are uploaded to an Azure Blob Storage container. For each uploaded file, the team must run a custom Python script to clean and transform the data. The team wants a solution that automatically triggers the script upon file upload, does not require them to manage any virtual machines or containers, and charges only when code executes. Which Azure service should the team use?

A.Azure Logic Apps
B.Azure Functions
C.Azure Container Instances
D.Azure Batch
AnswerB

Azure Functions is a serverless compute service that supports multiple languages, including Python. It can be triggered by Azure Blob Storage events (e.g., a new blob created) to automatically run the function code. The consumption plan bills only for the execution time, and there is no infrastructure to manage. This matches all the requirements perfectly.

Why this answer

Azure Functions is the correct choice because it provides a serverless compute service that can be triggered directly by an HTTP request or a Blob Storage event (via an Event Grid subscription or a Blob trigger). This allows the custom Python script to execute automatically when a CSV file is uploaded, without provisioning or managing any virtual machines or containers. The consumption plan ensures you are charged only for the duration of code execution, meeting all stated requirements.

Exam trap

The trap here is that candidates often confuse Azure Logic Apps with Azure Functions because both can respond to blob uploads, but Logic Apps cannot natively execute arbitrary Python code without an intermediate service, and its pricing model charges per action execution rather than per compute time.

Why the other options are wrong

A

Azure Logic Apps is a low-code integration service that uses connectors and workflows, not custom Python scripts. The requirement to run a custom Python script makes Logic Apps unsuitable, as it does not natively execute arbitrary code.

C

Azure Container Instances requires managing containers (though simplified) and incurs costs for running containers even when idle, not just when code executes. It does not natively trigger on Blob Storage uploads without additional components like Event Grid.

D

Azure Batch requires managing a pool of compute nodes and is designed for large-scale parallel batch processing, not for event-driven, serverless execution triggered by file uploads. It does not charge only when code executes and involves more management overhead.

384
MCQhard

A company plans to use Azure Site Recovery to replicate on-premises virtual machines to Azure for disaster recovery. Due to regulatory restrictions, they cannot use the paired region and must replicate to a specific Azure region in the same continent. Can they select this non-paired region as the recovery target?

A.Yes, you can select any Azure region as the target for replication.
B.No, replication is only allowed to the paired region.
C.Yes, but only if both regions are within the same availability zone.
D.No, only to regions that are within the same geography.
AnswerA

Azure Site Recovery (ASR) gives you full control over the target region: when you configure replication, you can select any Azure region where ASR is available and that supports the required VM size and storage types. Microsoft recommends paired regions for automatic failover alignment and reduced latency, but this is a best practice, not a mandate. You can even replicate to a region outside your home geography, provided your subscription has access and you account for data residency policies.

Why this answer

Azure Site Recovery allows you to replicate on-premises virtual machines to any Azure region that supports the service, not just the paired region. The paired region is a default recommendation for cost and latency optimization, but it is not a mandatory requirement. Therefore, you can select a non-paired region as the recovery target as long as it is within the same continent and meets regulatory restrictions.

Exam trap

The trap here is that candidates often assume Azure's paired region is mandatory for disaster recovery replication, but Azure Site Recovery explicitly allows selection of any supported region, making paired regions a recommendation rather than a requirement.

Why the other options are wrong

B

Azure Site Recovery allows replication to any Azure region, not just the paired region. The paired region is a default recommendation but not a requirement.

C

Azure Site Recovery allows replication to any Azure region, not just within the same availability zone. Availability zones are within a single region, not across regions, so this option incorrectly restricts region selection.

D

Azure Site Recovery allows replication to any Azure region, not just those within the same geography. The 'same geography' restriction applies to data residency requirements for certain services, but not to Site Recovery replication targets.

← PreviousPage 6 of 6 · 384 questions total

Ready to test yourself?

Try a timed practice session using only Describe Azure architecture and services questions.