AZ-303 Exam QuestionsBrowse all questions from this exam

AZ-303 Exam - Question 271


You develop an entertainment application where users can buy and trade virtual real estate. The application must scale to support thousands of users.

The current architecture includes five Azure virtual machines (VM) that connect to an Azure SQL Database for account information and Azure Table Storage for backend services. A user interacts with these components in the cloud at any given time.

✑ Routing Service `" Routes a request to the appropriate service and must not persist data across sessions.

✑ Account Service `" Stores and manages all account information and authentication and requires data to persist across sessions

✑ User Service `" Stores and manages all user information and requires data to persist across sessions.

✑ Housing Network Service `" Stores and manages the current real-estate economy and requires data to persist across sessions.

✑ Trade Service `" Stores and manages virtual trade between accounts and requires data to persist across sessions.

Due to volatile user traffic, a microservices solution is selected for scale agility.

You need to migrate to a distributed microservices solution on Azure Service Fabric.

Solution: Deploy a Windows container to Azure Service Fabric for each component.

Does the solution meet the goal?

Show Answer
Correct Answer: A

Deploying a Windows container to Azure Service Fabric for each component would meet the goal. Azure Service Fabric supports both stateful and stateless services and can deploy services in containers. This allows for the necessary scalability and management of state across sessions required by the various services described.

Discussion

9 comments
Sign in to comment
Kraviecc
Jan 16, 2021

According to the https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-quickstart-containers (Running an existing application in a Windows container on a Service Fabric cluster doesn't require any changes to your application) should be YES.

pentium75
Aug 3, 2021

But would it 'scale to thousands of users' if we have only a single instance of each microservice?

as0912
Mar 14, 2021

Not a part of AZ-303

nguyenhung1121990
May 2, 2021

A - Yes: is correct Answer

subbu3071988
Sep 12, 2021

This is out of syllabus for AZ-303. As per my understanding containers are stateless and Distributed Microservices are stateful. Also , we should use stateful services when we want data to persist and stateless services when data must not persist. In the current scenario, we are providing a stateless solution (Windows Container deployment) for stateful microservices (Distributed Microservices). So answer should be "No".

Anonymous
Jan 24, 2021

Likely Yes. Key is stateful and stateless. Both are supported in containers in the service fabric https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-choose-framework Containers By default, Service Fabric deploys and activates services as processes. Service Fabric can also deploy services in containers. Service Fabric supports deployment of Linux containers and Windows containers on Windows Server 2016 and later. Container images can be pulled from any container repository and deployed to the machine. You can deploy existing applications as guest executables, Service Fabric stateless or stateful Reliable services or Reliable Actors in containers, and you can mix services in processes and services in containers in the same application.

rdemontis
Jul 19, 2021

thanks for your explanation

pentium75
Aug 3, 2021

Would a single container 'support thousands of users'?

demonite
Apr 5, 2021

Should be Yes

syu31svc
Sep 4, 2021

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-overview I would take yes

gizda2
Oct 11, 2021

Service Fabric would only be the logical choice if it was about DOTNET applications within the containers. It's not mentioned in the question.

Inland
Jan 9, 2022

Yes is correct https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree