Master the Microsoft Azure Architect Design (AZ-304) 2026 – Unleash Your Cloud Genius!

Session length

1 / 400

Which compute service should be recommended for hosting a public web API and a private health monitoring container together in Azure?

Azure Service Fabric

Azure Container Service

Azure Kubernetes Service (AKS)

Azure Container Instances

The recommended service for hosting both a public web API and a private health monitoring container together in Azure is Azure Container Instances. This service is designed for scenarios where you need to quickly and easily run containerized applications without the complexity of managing the underlying virtual machines or orchestrators.

Azure Container Instances allows you to create containers in a serverless environment, meaning you only pay for the resources you use. This is particularly beneficial for hosting scenarios that may not require a permanent infrastructure setup, such as a public web API which may experience fluctuating demand.

Additionally, Azure Container Instances supports various networking features that can help you securely expose your public API while keeping the health monitoring container private. This flexibility allows developers to isolate different components of an application based on their accessibility and security requirements.

In comparison, while Azure Kubernetes Service (AKS) would allow for orchestrating a larger number of containers and managing life cycles efficiently, it introduces additional complexity and overhead that may not be necessary for simpler applications. Azure Service Fabric is more suited for complex microservices applications with stateful requirements, and Azure Container Service, which is now deprecated, would not provide the necessary features and support. Thus, Azure Container Instances stands out as the most appropriate option for this scenario, balancing simplicity, flexibility

Get further explanation with Examzify DeepDiveBeta
Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy