Microsoft Certified: DevOps Engineer Expert practice questions
209 free questions with answers and explanations.
- 51.A DevOps team is experiencing frequent integration issues and merge conflicts when multiple developers work on the same codebase. They are currently using a strategy where developers commit directly to the 'main' branch. To mitigate these issues and improve code quality, they decide to introduce a mandatory review process before any code is merged into 'main'. Which pull request strategy should they implement to enforce this new process?Configure processes and communications
- 52.A DevOps team is tasked with ensuring that all deployed artifacts are immutable and traceable back to their source code and build process. They want to implement a versioning strategy for their Docker images and other deployable units that automatically incorporates unique identifiers and reflects the build context. Which versioning approach would best support these requirements?Configure processes and communications
- 53.A large-scale enterprise with hundreds of microservices is struggling with inconsistent versioning and difficulty in tracking dependencies between services. They currently use a mix of date-based and arbitrary sequential versioning. To standardize their approach and enable automated tools to reason about compatibility, they decide to adopt a versioning scheme that explicitly communicates breaking changes, new features, and bug fixes. Furthermore, they need to ensure that internal libraries and public APIs are versioned consistently. Which versioning strategy, specifically designed for this level of clarity and automation, should they implement?Configure processes and communications
- 54.A software company uses Azure DevOps to manage its projects. They have multiple teams working on different components of a large system. To ensure consistent application of quality gates, security checks, and compliance requirements across all pull requests, they need a mechanism to define and enforce these standards centrally. Which Azure DevOps feature should they leverage for this purpose?Configure processes and communications
- 55.A DevOps team is adopting a new agile work management approach. They want to ensure that work is pulled by the team members as capacity allows, rather than being pushed to them by a project manager. They also need a visual system to track work progress and identify bottlenecks. Which agile framework is best suited for these requirements?Configure processes and communications
- 56.A development team is implementing a new feature in an existing application. They want to ensure that the new code integrates smoothly with the main codebase and does not introduce regressions, while also allowing for parallel development. They decide to use a workflow where developers create isolated branches for new features, and changes are reviewed before being merged into the main branch. Which branching strategy best fits these requirements?Configure processes and communications
- 57.A DevOps team is managing a complex application with multiple dependencies and a stringent security policy. They are implementing a branch strategy and need to ensure that the main branch is always stable and production-ready. They want to enforce that all code changes undergo automated testing, static code analysis, and at least two peer reviews before being merged into the main branch. Additionally, they need to prevent direct commits to the main branch. Which combination of branch strategy and pull request policies would be most effective for this scenario?Configure processes and communications
- 58.A DevOps team is developing a microservices-based application. They need to implement a versioning strategy that clearly communicates the impact of changes to consumers of their APIs. Specifically, they want to convey whether a new version introduces breaking changes, new features that are backward-compatible, or only bug fixes. Which versioning standard should they adopt?Configure processes and communications
- 59.A global e-commerce company is experiencing challenges with its release process. They have multiple geographically distributed teams developing features for a single monolithic application. Releases are infrequent (quarterly), often large, and highly risky, leading to extended downtime and customer dissatisfaction. The company wants to adopt a release strategy that reduces risk, enables faster feedback, and allows for rolling out new features to a subset of users before a full production launch. Which combination of release strategies would best address these challenges?Configure processes and communications
- 60.A software development team is adopting Git for version control and wants to enforce a strict linear history in their main branch. They want to avoid merge commits in the main branch to keep the commit history clean and easy to follow. Which Git strategy should they primarily use when integrating changes from feature branches into the main branch?Configure processes and communications
- 61.A rapidly growing startup is adopting an agile approach to manage its product development. They have a product backlog, and new features are continuously prioritized. The team needs a simple, visual way to track work, collaborate on tasks, and adapt to changing priorities without strict time-boxed iterations. Which agile framework is most suitable for their needs?Configure processes and communications
- 62.A financial institution is developing a new online banking platform. Due to strict regulatory compliance requirements, every change to the production environment must be meticulously documented, auditable, and traceable back to a specific approval. They also need to ensure that deployments are highly reliable and can be rolled back quickly if issues arise. Which release strategy should they prioritize to meet these demands?Configure processes and communications
- 63.A DevOps team is using Azure DevOps and wants to implement a release strategy that allows them to gradually roll out new features to a subset of users before making them generally available. This approach helps in gathering feedback and monitoring stability in a controlled manner. Which release strategy is being described?Configure processes and communications
- 64.An organization is transitioning to a DevOps culture and wants to foster better collaboration and knowledge sharing among development, operations, and quality assurance teams. They aim to reduce silos and ensure everyone is aware of changes, issues, and progress. Which communication strategy element is most effective for promoting transparency and shared understanding across these diverse teams?Configure processes and communications
- 65.A DevOps team requires a branch strategy that ensures the `main` branch always contains production-ready code. Development work for new features should occur in isolation, and hotfixes for production issues need to be developed and released quickly without disrupting ongoing feature development. Which branch strategy best supports these requirements?Configure processes and communications
- 66.A global e-commerce company is experiencing challenges with its release process. They have a complex application with many microservices and a large user base across different time zones. They want to ensure that new features are fully tested in production by a small, internal group of users before being gradually rolled out to a wider external audience. This approach should also allow for easy A/B testing of features. Which release strategy is most appropriate for this scenario?Configure processes and communications
- 67.A DevOps team is managing an Azure DevOps project. They want to ensure that all work items related to a specific product backlog item (PBI) are automatically linked when new tasks or bugs are created from that PBI. This will help in maintaining traceability and understanding the complete scope of work. Which linking type should the team configure as the default for new work item creations from a PBI?Configure processes and communications
- 68.A software company is developing a suite of microservices. Each microservice is independently deployable and has its own Git repository. The company wants to adopt a versioning strategy that clearly indicates whether a release contains new features, bug fixes, or breaking changes, and allows for automated dependency resolution. Which versioning strategy should they implement?Configure processes and communications
- 69.A team is developing a microservices-based application. They need to implement a versioning strategy that clearly communicates the impact of changes to consumers of their APIs and allows for independent evolution of each service. They want to ensure that breaking changes are explicitly signaled. Which versioning scheme is best suited for this requirement?Configure processes and communications
- 70.A software company uses Azure DevOps to manage its projects. They have multiple teams working on different features, all contributing to the same main application codebase. To maintain a clean and stable `main` branch, they want to ensure that all changes are reviewed by at least two senior developers and pass all automated build validations before being merged. Which Azure DevOps feature should they configure to enforce these requirements?Configure processes and communications
- 71.A DevOps team needs to deploy an application to an Azure Kubernetes Service (AKS) cluster. The AKS cluster is in a different Azure subscription and resource group than the Azure DevOps project. The team wants to ensure secure, authenticated communication between the Azure DevOps pipeline and the AKS cluster for deployment operations. Which Azure DevOps component is primarily responsible for establishing this secure connection?Design and implement pipelines
- 72.A financial institution uses Azure DevOps for its mission-critical applications. They have a complex release pipeline with multiple stages (Dev, QA, Staging, Production). Due to regulatory compliance, every deployment to the Production environment must be explicitly approved by two different senior managers. Additionally, if the deployment fails in Production, an automated incident management system must be triggered. How should the team configure the Production stage to meet these requirements?Design and implement pipelines
- 73.A DevOps team is managing release pipelines in Azure DevOps. They have a standard set of tasks (e.g., database migration, secret rotation, service restart) that need to be executed consistently across multiple stages in various release pipelines. To improve reusability, maintainability, and ensure consistency, the team wants to encapsulate these tasks into a single, versioned unit. Which Azure DevOps feature is designed for this purpose?Design and implement pipelines
- 74.A DevOps team is designing a release strategy for a new microservice that needs to be deployed to an Azure Kubernetes Service (AKS) cluster. The team wants to ensure that the new version of the microservice is gradually rolled out to users, allowing for careful monitoring and quick rollback if issues arise, without impacting the entire user base. Which deployment strategy should the team implement?Design and implement pipelines
- 75.A DevOps team is managing a critical application deployed to Azure Kubernetes Service (AKS). They need to implement a strategy to ensure that new deployments are only rolled out after external systems confirm the health and performance of the deployed service. This validation process involves calling an external health check endpoint and verifying specific metrics in a monitoring system. If the checks fail, the deployment should be automatically rolled back. Which Azure DevOps feature should the team use?Design and implement pipelines
- 76.A DevOps team is implementing a new release strategy for a critical microservice. The team wants to ensure that the microservice is deployed to a staging environment, tested by QA, and then, only if all automated and manual checks pass, promoted to production. The promotion to production should happen without redeploying the application bits, but rather by simply routing traffic to the already deployed and validated version. Which deployment strategy best fits these requirements?Design and implement pipelines
- 77.A DevOps team is configuring a release pipeline in Azure DevOps for an application deployed to multiple environments (Dev, QA, Staging, Production). They want to ensure that the release automatically proceeds to the next environment only if all automated tests in the previous environment have passed, AND no new critical performance alerts have been triggered in Azure Monitor for a specified duration. This check should run continuously for a period before allowing the release to move forward. Which Azure DevOps feature should be used for this purpose?Design and implement pipelines
- 78.A DevOps team is tasked with implementing a disaster recovery strategy for their Azure DevOps release pipelines. They need to ensure that their release pipeline definitions (YAML files) are backed up off-site and can be quickly restored in case of an Azure DevOps service outage or accidental deletion. Which method is the most efficient and recommended for backing up and restoring YAML-based release pipeline definitions?Design and implement pipelines
- 79.A large enterprise is implementing a phased rollout strategy for its critical business application across multiple geographic regions. Each region (e.g., North America, Europe, Asia) has its own independent production environment. The deployment to each region must be manually approved by the regional operations manager, and then automatically proceed only if specific regional health checks (e.g., local database availability, regional CDN status) pass. The team wants to manage this within a single Azure DevOps release pipeline. How should the approval and gate configuration be designed?Design and implement pipelines
- 80.A DevOps team is setting up a new release pipeline for a web application that will be deployed to an Azure App Service. The application uses a database connection string and an API key that are considered highly sensitive. These secrets must not be stored directly in the pipeline definition or source control. How should the team manage these secrets within the Azure DevOps release pipeline?Design and implement pipelines
- 81.A DevOps team needs to deploy an application to an Azure Kubernetes Service (AKS) cluster. The deployment process involves applying several Kubernetes manifest files (YAML) and then running a custom script to perform post-deployment configuration on the cluster. The team wants to use an Azure DevOps release pipeline for this. To ensure that the pipeline can interact with the AKS cluster, which type of service connection should be configured in Azure DevOps?Design and implement pipelines
- 82.A DevOps team is implementing a hybrid deployment infrastructure for an application that consists of a web frontend in Azure App Service and a backend service running on an on-premises server. The backend service requires custom software and specific network configurations not available in Microsoft-hosted agents. The team needs to ensure the backend service can be deployed and managed by Azure DevOps. Which type of agent should the team use for deploying the on-premises backend service?Design and implement pipelines
- 83.A DevOps team is designing a release strategy for an application that requires zero downtime during deployments. The application runs on Azure App Service. The team wants to use deployment slots to achieve this. After deploying a new version to a staging slot and performing validation, they need to swap the staging slot with the production slot. However, the application has specific configurations (e.g., connection strings, application settings) that are unique to the production environment and should NOT be swapped with the staging slot's configurations. How should the team configure the deployment slots to prevent these production-specific settings from being swapped?Design and implement pipelines
- 84.A DevOps team is implementing a new release strategy for a critical microservice. The team wants to ensure that a new version is only promoted to production if it has successfully passed all automated tests, has no open critical bugs in the bug tracking system, and has been approved by the security team. Which Azure DevOps feature should the team primarily use to enforce these conditions before deployment?Design and implement pipelines
- 85.A company uses Azure DevOps for its CI/CD pipelines. They have a complex application with several microservices, each deployed to its own Azure Kubernetes Service (AKS) cluster. The company wants to implement a deployment strategy where a new version of a microservice is gradually rolled out to a small subset of users, monitored for issues, and then progressively released to more users. If issues are detected, the rollout should automatically halt or roll back. Which deployment strategy best fits these requirements?Design and implement pipelines
- 86.A global financial institution uses Azure DevOps for its mission-critical applications. They need to ensure that their release pipelines adhere to strict compliance and auditing requirements. Specifically, they must track every change to a release pipeline definition, including who made the change and when. Additionally, they need the ability to revert a pipeline definition to a previous working state if an unauthorized or faulty change is introduced. Which Azure DevOps feature directly supports these requirements?Design and implement pipelines
- 87.A DevOps team is implementing a hybrid deployment infrastructure for an application that consists of both Azure resources (App Service) and on-premises virtual machines. The on-premises VMs host a legacy component that needs to be updated as part of the release pipeline. The team needs to ensure that the Azure DevOps release pipeline can securely connect to and deploy artifacts to these on-premises VMs. Which Azure DevOps component is essential for enabling this connectivity and deployment?Design and implement pipelines
- 88.A DevOps team is deploying a highly sensitive application to Azure. The application requires access to various secrets (e.g., API keys, database connection strings) during deployment. These secrets must be securely stored, accessed, and rotated. The team wants to integrate Azure Key Vault with their Azure DevOps release pipelines to retrieve these secrets during deployment without hardcoding them. How should the team configure the release pipeline to achieve this securely?Design and implement pipelines
- 89.A DevOps team is managing a complex application deployed to Azure Kubernetes Service (AKS). They are using Helm charts for packaging and deploying their microservices. The team wants to implement a strategy to ensure that during a deployment, the new version of a microservice is gradually rolled out, and traffic is incrementally shifted to the new pods while closely monitoring for errors and performance degradation. If any issues are detected, the deployment should automatically pause or roll back. Which specific tool or pattern, often integrated with Kubernetes and Helm, provides this advanced traffic management and progressive delivery capability?Design and implement pipelines
- 90.A company is migrating its monolithic application to a microservices architecture. Each microservice has its own Git repository and build pipeline in Azure DevOps. The company wants to implement a release strategy where a new version of the 'Order Processing' microservice is automatically deployed to the 'Development' environment whenever a successful build of that microservice completes. However, deployments to 'Staging' and 'Production' environments must be manually triggered. Which release pipeline trigger configuration should be used for the 'Order Processing' microservice?Design and implement pipelines
- 91.A company is migrating its monolithic application to a microservices architecture. Each microservice will have its own independent CI/CD pipeline. The company wants to implement a strategy where the deployment of a specific microservice to the production environment is automatically triggered only after a successful deployment of a critical dependency microservice to the same environment. This dependency must be managed within Azure DevOps release pipelines. How should this inter-pipeline dependency be configured?Design and implement pipelines
- 92.A team uses Azure Pipelines (YAML) for their CI/CD. They have a complex deployment process that involves several stages: 'Build', 'Test', 'StagingDeployment', and 'ProductionDeployment'. The 'StagingDeployment' and 'ProductionDeployment' stages share a significant amount of identical configuration and steps, but with different environment-specific variables. The team wants to reduce duplication and improve maintainability of their pipeline definitions. Which YAML feature should they use?Design and implement pipelines
- 93.A large enterprise is implementing a phased rollout strategy for its critical business application. The application is deployed across multiple geographic regions. Before any deployment to a new region, a set of automated health checks and performance tests must pass. Additionally, after deployment, a manual approval from the regional operations manager is required before traffic is fully shifted to the new version in that region. Which Azure DevOps feature combination should be used to enforce this strategy?Design and implement pipelines
- 94.A company uses Azure DevOps for its CI/CD pipelines. They have a web application deployed to Azure App Service. The development team has implemented a new feature that requires a specific environment variable to be set in the production slot, but not in the staging slot. This variable contains sensitive information. How should the team configure the release pipeline to manage this environment variable securely and ensure it's only applied to the production slot?Design and implement pipelines
- 95.A DevOps team is managing release pipelines in Azure DevOps. They have identified several common tasks, such as 'Azure Key Vault Secret Download' and 'Azure App Service Slot Swap', that are frequently reused across multiple release pipelines. The team wants to standardize these tasks and ensure that any updates to their logic are automatically reflected across all pipelines. Which feature should the team use to achieve this?Design and implement pipelines
- 96.A global online gaming company uses Azure for its multiplayer backend services. They have implemented an SRE strategy focusing on rapid recovery from failures. One critical service, responsible for player matchmaking, occasionally experiences transient network issues that cause connection drops, leading to a poor player experience. The team wants to implement a failure detection and recovery mechanism that automatically retries failed operations with increasing delays to prevent overwhelming the service during recovery. Which design pattern should they utilize?Implement a Site Reliability Engineering (SRE) strategy
- 97.A team is designing an SRE strategy for a new critical service. They have defined a Service Level Objective (SLO) for request latency: 99% of requests must complete within 200ms. To ensure this SLO is met and to provide early warning of potential issues, they need to set up an appropriate alert threshold. What is the MOST effective alert threshold strategy for this SLO?Implement a Site Reliability Engineering (SRE) strategy
- 98.A financial services company uses Azure Kubernetes Service (AKS) for its core banking application. The SRE team needs to implement a disaster recovery strategy that ensures minimal data loss and rapid recovery in the event of a regional outage. The Recovery Point Objective (RPO) is 15 minutes, and the Recovery Time Objective (RTO) is 2 hours. Which disaster recovery strategy BEST meets these requirements?Implement a Site Reliability Engineering (SRE) strategy
- 99.A company is implementing an SRE strategy for its mission-critical application hosted on Azure. The application's data is stored in Azure Cosmos DB. The team needs to design a disaster recovery strategy that ensures database consistency and minimal data loss across two separate Azure regions, with an RPO (Recovery Point Objective) as close to zero as possible. Which Cosmos DB feature should they leverage?Implement a Site Reliability Engineering (SRE) strategy
- 100.A team manages a critical microservices-based application on Azure. They are implementing an SRE strategy. The application's service level objective (SLO) for availability is 99.95%, measured over a 30-day rolling window. During the last 30 days, the application experienced a total of 25 minutes of downtime. What is the current error budget status for this application?Implement a Site Reliability Engineering (SRE) strategy