Search Header Logo

Microservices Migration

Authored by Tadeu (Tad)

Information Technology (IT)

Professional Development

Used 2+ times

Microservices Migration
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why might a company choose to migrate from a monolithic architecture to a microservices architecture?

Because Netflix uses microservices

Easier Maintenance

To upgrade my LinkedIn profile

Improved Fault Isolation

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the first step in transforming a monolithic application into a microservice?

Deploying all components on the cloud

  • Splitting the database

Identifying bounded contexts, scalability and deployment needs

Writing new code from scratch

Answer explanation

Bounded contexts help in defining clear boundaries within the application, making it easier to break down into smaller, manageable services.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a common challenge when migrating from a monolith to microservices?

Increased operational complexity

Data consistency issues

Reduced development effort

Network latency

Answer explanation

While development of individual microservices might be faster, overall project complexity often increases.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which communication pattern is often preferred between microservices?

Synchronous RPC (Remote Procedure Call)

Asynchronous messaging (e.g., Kafka, RabbitMQ)

Shared database

Direct HTTP requests

Answer explanation

Asynchronous messaging provides better decoupling and scalability.

Sharing a database tightly couples microservices and can hinder independence, and while possible, direct HTTP requests can lead to tight coupling and performance issues.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is NOT a best practices on how to split into services?

Consider ROI, scalability, and maintainability when defining services

Each service should have exactly one function

Services should aim for independent development and deployment

Design services around capabilities and bounded contexts

Answer explanation

Over-abstraction leads to anemic services, which increase complexity and create coupling between services.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which strategy is commonly used to incrementally move to microservices?

Strangler pattern

Continuous integration

Big bang rewrite

Hexagonal architecture

Answer explanation

The strangler pattern involves gradually replacing parts of the monolith with microservices, allowing for a smooth transition without disrupting the entire system.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a good way to ensure data consistency across microservices?

By using GRPC and Protocol Buffers

  • By using a single, central database

By implementing eventual consistency

  • By using SQL ACID transactions

Answer explanation

Eventual consistency allows the system to remain scalable while ensuring that all changes will propagate and synchronize over time, maintaining data integrity.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?