Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A team is running CI / CD processes using Azure DevOps. Recently, they decided to move to the microservices architecture, where each microservice is built
A team is running CICD processes using Azure DevOps. Recently, they decided to move to the microservices architecture, where each microservice is built and library modules. The team needs to ensure efficient buildrelease processes without duplicate builds for these shared modules. What is the best way to optimize CICD processes in Azure for this architecture?
Pick ONE option
A
Set up a separate build pipeline for each microservice and the shared modules.
Use pipeline triggers to start the microservice build every time there is a change in its code or the shared modules.
B
Merge all microservice repositories into a monorepo.
Set up a single build pipeline for the entire monorepo, triggering a build for all microservices even if only one service or shared module changes.
C
Create a build pipeline for the shared modules and produce artifacts.
For each microservice, set up individual build pipelines that consume the shared module artifacts. Use pipeline triggers only when there is a change in the specific microservice code.
D
Avoid setting up any build pipelines.
Instead, rely on manual builds by developers in their local environment and then push the compiled code to the deployment pipeline
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started