Question
Which of the following is a common challenge in
transitioning from a monolithic to a microservices architecture?ÂSolution
A key challenge in migrating from a monolithic to a microservices architecture is managing distributed transactions. In a monolithic system, transactions are typically managed within a single database and within a single application boundary, simplifying transaction integrity. In microservices, however, services often manage their own data stores, making it complex to maintain transaction consistency across multiple services. Techniques such as the Saga pattern are often used to ensure distributed transaction management, but these solutions require additional effort and may increase application complexity. Distributed transactions, as such, present a unique challenge in a microservices architecture that is generally not encountered in monolithic setups. Option A - With microservices, it's common to have multiple repositories, not a single codebase, allowing more flexible development. Option B - Microservices avoid single-point deployments by deploying services independently. Option D - Scalability is generally enhanced in microservices as each component can scale separately. Option E - Dependency on centralized databases is more common in monolithic architectures than microservices, which encourage distributed databases.
The average of 13 numbers is 10.The average of first 6 numbers is 8 and that of the last 6 numbers is 10. What will be the 13th number?
Average of four numbers is 25. Sum of smallest and largest number is 54. If difference between other two numbers is 2, then find the square of second sm...
A football player scored 400 points in the first eight games of the season. Find the average points he must score in the next two games so that his aver...
The average number of balloons distributed among five kids is 9. If each kid received 1 balloon more than the kid before, then find the highest number o...
The mean purchase price of items 'X' and 'Y' is Rs. 600. Article 'X' is sold with a 20% profit, while article 'Y' is sold with a 30% profit. Calculate t...
The present average age of X, Y, and Z is 45 years. 8 years ago, the average age of X and Y was 38 years. What is the present age of Z?
Average of four numbers is 215. The ratio of first to second number is 4:7, the ratio of second to third number is 9:8 and the ratio of fourth to third ...
The total number of students in class A and B is 72. The number of students in A is 40% more than that in B. The average marks of students in B are 50% ...
If average weight of a class is ‘y’ kg. If a new student weighing 21 kg took admission, then the average weight is increases by 1 kg. If the...
If the average of 7 back-to-back numbers is 65, find the sum of the first and last numbers.