AZ-303 Exam QuestionsBrowse all questions from this exam

AZ-303 Exam - Question 312


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: Create a Service Fabric Cluster with a stateful Reliable Service for each component.

Does the solution meet the goal?

Show Answer
Correct Answer: B

The solution involves creating a Service Fabric Cluster with a stateful Reliable Service for each component. However, the Routing Service explicitly states that it must not persist data across sessions, which means it must be stateless. Creating it as a stateful service would be incorrect. The correct approach would be to use a stateless Reliable Service for the Routing Service and stateful Reliable Services for all other components. Therefore, the solution does not meet the goal as is.

Discussion

7 comments
Sign in to comment
Tripp_F
Jul 7, 2021

Correct Answer: B. No. The question is testing whether a candidate can distinguish between stateful and stateless. In this question, the routing service requirements are stateless. The correct solution should be: Create a Service Fabric Cluster with a stateless Reliable Service for Routing Service. Create stateful Reliable Services for all other components. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction

hoangton
Jul 25, 2021

Correct

pentium75
Aug 4, 2021

First I thought it doesn't harm if the service is stateful though it's not required. But then I saw the per requirement, the "Routing Service ... MUST NOT persist data across sessions." If I understand the language correctly, this means that it MUST be stateless. Thus the answer is No.

El_Hechizo
Jul 6, 2021

No. See comments in https://www.examtopics.com/discussions/microsoft/view/12284-exam-az-300-topic-2-question-28-discussion/

tita_tovenaar
Jul 25, 2021

Answer is correct, since the application will need a combination of stateless and stateful services. Everything black or white will be wrong. Hence NO.

syu31svc
Aug 29, 2021

Routing Service ג€" Routes a request to the appropriate service and must not persist data across sessions. This would make No as the answer

Divakar_Adam
Jul 5, 2021

It should be Yes. Refer questions # 29 of topic 2

nicold2Option: B
Jan 5, 2022

routing must be stateless