Preview a few questions below — answers are revealed when you take the
exam.
-
A team needs to implement a CI/CD pipeline for a microservices architecture. The pipeline must support automated testing, deployment, and rollback capabilities. What approach should they take to ensure the pipeline is efficient and reliable?
- Implement a monolithic CI/CD pipeline that handles all microservices together, using a single deployment strategy for all services.
- Create separate CI/CD pipelines for each microservice, ensuring each pipeline is tailored to the specific needs and dependencies of the service.
- Use a hybrid approach where critical microservices have dedicated pipelines, while less critical services share a common pipeline.
- Adopt a serverless CI/CD approach where pipeline stages are triggered by events, allowing for dynamic scaling and cost efficiency.
-
Identify the command used in Azure DevOps to trigger a pipeline manually.
- az pipelines run
- az pipelines trigger
- az pipelines start
- az pipelines manual-trigger
-
Consider the situation where a DevOps team is experiencing frequent merge conflicts in their Git repository. Which method solves it best by minimizing conflicts and ensuring code quality?
- Implement a feature branching strategy where each feature is developed in a separate branch and merged into the main branch after thorough testing.
- Use a trunk-based development approach with continuous integration, ensuring all changes are merged into the main branch frequently.
- Adopt a Git flow strategy where features are developed in feature branches and merged into a develop branch before final integration into the main branch.
- Enforce strict code review policies and use automated testing to catch issues early in the development cycle.
-
What service in Azure DevOps can be used to store and manage container images?
- Azure Container Registry
- Azure Kubernetes Service
- Azure Container Instances
- Azure App Service
-
A DevOps engineer needs to configure Azure Pipelines to deploy an application to multiple environments (Dev, Test, Prod). What configuration is most appropriate for ensuring consistency and minimizing errors across environments?
- Use separate pipelines for each environment with environment-specific variables and stages.
- Create a single pipeline with environment-specific stages and use variables to manage differences between environments.
- Manually configure deployment settings for each environment within the pipeline.
- Use Azure Resource Manager templates to define infrastructure and deploy applications consistently across environments.