exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 1 question 29 discussion

Actual exam question from Microsoft's AZ-104
Question #: 29
Topic #: 1
[All AZ-104 Questions]

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability group.
Solution: You set Session persistence to Client IP.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
J511
Highly Voted 3 years, 3 months ago
Answer is B. "None" FYI: Session persistence ensures that a client will remain connected to the same server throughout a session or period of time. Because load balancing may, by default, send users to unique servers each time they connect, this can mean that complicated or repeated requests are slowed down.
upvoted 47 times
awssecuritynewbie
3 years ago
that defeats the purpose of a load balancer that is allowing traffic to various different SQL servers.
upvoted 7 times
jackdryan
2 years ago
you need to configure an "availability group listener" not a HTTP health probe
upvoted 2 times
...
...
jackdryan
2 years ago
B is correct
upvoted 1 times
...
...
Timock
Highly Voted 5 months, 2 weeks ago
The load balancing rules configure how the load balancer routes traffic to the SQL Server instances. For this load balancer, you enable direct server return because only one of the two SQL Server instances owns the availability group listener resource at a time. Therefore Floating IP (direct server return) is Enabled. TCP 1433 is the standard SQL port. The availability group listener health probe port has to be different from the cluster core IP address health probe port.  The ports on a health probe are TCP59999 and TCP58888. https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-load-balancer-portal-configure
upvoted 14 times
...
Jay_D_Lincoln
Most Recent 1 month, 1 week ago
Selected Answer: B
It amazes me 40% vote on session persistence!! Really?
upvoted 1 times
...
minura
2 months, 1 week ago
Selected Answer: B
Answer is B. No Session persistence ensures that a client will remain connected to the same server throughout a session or period of time.
upvoted 2 times
RajeshwaranM
2 months, 1 week ago
You are correct
upvoted 1 times
...
...
7bc6163
3 months, 2 weeks ago
Selected Answer: A
To configure an Azure internal load balancer (ILB) as a listener for a SQL Server Always On availability group, Session persistence must be set to Client IP. This ensures that the traffic from a specific client is directed consistently to the same backend server during the session. It is a critical requirement for SQL Server Always On listener configurations in Azure, as it helps maintain consistent connectivity for applications interacting with the SQL Server.
upvoted 2 times
...
Chuong0810
5 months, 2 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
SHAHIN_STA
2 months, 3 weeks ago
Client IP causes traffic to be directed to a specific server based on the client’s IP address, even if that server becomes unavailable. This disrupts SQL Server's automatic Failover process and can cause issues with database accessibility.
upvoted 1 times
...
...
Madbo
5 months, 2 weeks ago
The solution meets the goal. When you configure an Azure internal load balancer as a listener for a Microsoft SQL Server Always On availability group, you need to ensure that session persistence is configured correctly. Session persistence ensures that a client's connections are maintained with the same server during the session. In this case, setting the session persistence to Client IP is a valid solution as it ensures that a client's connection is maintained with the same server for the duration of the session based on the client's IP address. Therefore, the solution of setting session persistence to Client IP meets the goal. The answer is A (Yes).
upvoted 2 times
...
Flo42
5 months, 2 weeks ago
asked to chatGPT, and the answer is: No, the solution does not meet the goal. For an Azure internal load balancer to properly work as a listener for an SQL Server Always On availability group, you need to set Session persistence to Client IP and protocol, not just Client IP. Setting the session persistence to "Client IP and protocol" ensures that the load balancer can route the traffic correctly based on both the client's IP address and the protocol, which is essential for the proper functioning of SQL Server Always On availability groups.
upvoted 2 times
...
lokii9980
5 months, 2 weeks ago
A. Yes. The solution mentioned in the scenario is correct. Setting session persistence to Client IP will ensure that all connections from a given client IP address are routed to the same SQL Server instance. This is important for ensuring that the client's session state is maintained, as SQL Server Always On availability groups do not provide session state sharing across multiple replicas. By using the Client IP session persistence mode, the Azure internal load balancer will route all client connections from a specific IP address to the same SQL Server instance. This ensures that the client's session state is maintained and provides a seamless failover experience. Therefore, the solution meets the goal of configuring an Azure internal load balancer as a listener for the SQL Server Always On availability group.
upvoted 1 times
Just_Nick
1 year, 10 months ago
Read it again carefully, to setup on Client IP, this is wrong! To configure Availability Group you should do it all in the server side not on Client Side.
upvoted 2 times
...
dilipsun
1 year, 11 months ago
Again ChatGpt
upvoted 4 times
...
...
[Removed]
6 months ago
Selected Answer: B
B is corerct
upvoted 1 times
...
longwhiteclouds
7 months, 1 week ago
For configuring an Azure internal load balancer (ILB) as a listener for a SQL Server Always On availability group, setting the session persistence to "Client IP" is correct. This setting ensures that client connections from the same IP address are consistently routed to the same backend server. This is important for SQL Server Always On availability groups to ensure that the traffic is directed to the correct primary replica. Answer: A
upvoted 1 times
...
Charumathi
8 months, 4 weeks ago
Selected Answer: A
Yes, session persistence can be configured in an internal load balancer (ILB) used as a listener for an Availability Group in Azure. This is useful in scenarios where you have a high-availability setup for SQL Server Always On Availability Groups and need to ensure that client connections are consistently routed to the same backend node for session consistency. https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts#session-persistence
upvoted 3 times
...
skywalker
10 months ago
Selected Answer: A
Paste the question to CoPilot. and you will know.
upvoted 1 times
...
tashakori
11 months, 2 weeks ago
No is right
upvoted 1 times
...
pooh0805
1 year, 5 months ago
Selected Answer: A
Setting session persistence to "Client IP" on the Azure internal load balancer is a valid solution for configuring an Azure internal load balancer as a listener for a Microsoft SQL Server Always On availability group. This configuration ensures that client connections from the same source IP address are consistently directed to the same SQL Server instance within the availability group.
upvoted 1 times
...
havoc2k7
1 year, 5 months ago
Ans. is NO, the key word is 'availability group' means we need redundancy of servers, servers must talk with each other which uses health probe not session persistence, this is use for communication between client and server. Correct me if im wrong.
upvoted 2 times
...
System2214
1 year, 5 months ago
Selected Answer: B
B es correcto.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago