0
0
Microservicessystem_design~10 mins

Mono-repo vs multi-repo in Microservices - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the repository type used when all microservices share a single codebase.

Microservices
if codebase == 'all services in one repository':
    repo_type = '[1]'
Drag options to blanks, or click blank then click option'
Amono-repo
Bmulti-repo
Cdistributed-repo
Dsingle-service
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing mono-repo with multi-repo.
2fill in blank
medium

Complete the code to describe the repository type where each microservice has its own repository.

Microservices
if codebase == 'each service in separate repository':
    repo_type = '[1]'
Drag options to blanks, or click blank then click option'
Amono-repo
Bshared-repo
Cmulti-repo
Dsingle-repo
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up mono-repo and multi-repo.
3fill in blank
hard

Fix the error in the statement about repository management for microservices.

Microservices
The [1] approach uses multiple repositories, one per microservice.
Drag options to blanks, or click blank then click option'
Acentral-repo
Bmono-repo
Csingle-repo
Dmulti-repo
Attempts:
3 left
💡 Hint
Common Mistakes
Using mono-repo instead of multi-repo.
4fill in blank
hard

Fill both blanks to complete the advantages of mono-repo and multi-repo respectively.

Microservices
Mono-repo simplifies [1] and multi-repo improves [2].
Drag options to blanks, or click blank then click option'
Adependency management
Bindependent deployment
Ccode duplication
Dteam collaboration
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the advantages of mono-repo and multi-repo.
5fill in blank
hard

Fill all three blanks to complete the trade-offs between mono-repo and multi-repo.

Microservices
Mono-repo can cause [1] issues, while multi-repo may increase [2] and require more [3].
Drag options to blanks, or click blank then click option'
Ascaling
Bcomplexity
Ccoordination effort
Dsecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing security with coordination effort.