Free AZ-400 sample questions
Real questions from the Designing and Implementing Microsoft DevOps Solutions practice bank, with the correct answer and an explanation for each one. No junk, no filler.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
A project manager at a large enterprise is concerned about the team's release cadence and efficiency. They want to track key DORA (DevOps Research and Assessment) metrics, specifically Lead Time for Changes and Deployment Frequency. The team uses Azure Boards for work items and Azure Pipelines for CI/CD. Where can the project manager most effectively visualize these metrics in a continuously updated dashboard?
A development team is building a containerized application and using a YAML pipeline in Azure Pipelines to build and push the image to Azure Container Registry (ACR). During a security review, it was mandated that no container image with 'High' or 'Critical' vulnerabilities should be pushed to the production ACR instance. What is the most integrated and automated way to enforce this within the Azure ecosystem?
A team is adopting trunk-based development using GitHub. To maintain code quality and prevent broken builds, they want to enforce that all pull requests targeting the `main` branch must pass a series of checks before they can be merged. These checks include a successful build, a minimum code coverage percentage, and a security scan. What GitHub feature should be configured on the `main` branch to enforce these requirements?
A DevOps engineer needs to write a Kusto Query Language (KQL) query in Log Analytics to investigate performance issues. The goal is to find the average request duration for all failed requests (resultCode starts with '5') in the `requests` table over the last 24 hours, summarized into 1-hour intervals. Which KQL query correctly accomplishes this?
A manufacturing company is modernizing its application deployment. The primary goal is to minimize downtime and risk when deploying new versions of their critical inventory management web app, which is hosted on Azure App Service. They want to route a small percentage of live traffic to the new version for a period of time to monitor its performance and stability before rolling it out to all users. Which deployment strategy should they implement?
True or False: When using GitHub Advanced Security, secret scanning is limited to detecting secrets only in the default branch of a repository.
A DevOps team manages multiple projects, each with its own Azure Pipeline. To ensure consistency and reduce redundant code, they want to create a reusable component that defines a sequence of steps for running integration tests. This component should be easily versioned and shared across different pipelines. Which Azure Pipelines feature is best suited for this purpose?
**Case Study:** A healthcare technology company, HealthData Inc., is migrating its monolithic patient portal application to a microservices architecture on Azure Kubernetes Service (AKS). The company operates under strict regulatory compliance (HIPAA) and must maintain a high degree of security and traceability. **Current Situation:** The development team uses GitHub for source code management. The current CI/CD process is manual, slow, and error-prone. There is no automated security scanning, and secrets like database connection strings are stored in configuration files within the repositories. The operations team has limited Kubernetes experience, and developers need a way to test their services in isolated, production-like environments before merging code. **Requirements:** 1. **CI/CD Automation:** Implement a fully automated build, test, and deployment pipeline using GitHub Actions. 2. **Security:** All container images must be scanned for vulnerabilities. Secrets must be removed from source code and managed securely. A full audit trail of all code changes and deployments is required. 3. **Developer Environments:** Provide developers with on-demand, self-service environments for testing pull requests. 4. **Deployment Strategy:** Deployments to the production AKS cluster must use a progressive exposure model to minimize risk. Which proposed solution best addresses all of HealthData Inc.'s requirements?
A team is designing a package management strategy using Azure Artifacts. They produce several internal NuGet packages that are consumed by different applications. They need to create a feed that provides access to their own packages as well as packages from the official nuget.org repository. New applications should only use packages that have been vetted and approved by a quality assurance team. How should they configure their feeds to meet these requirements?
10 more free samples are waiting
Create a free account to unlock the whole AZ-400 sample bank, or get full access to all 250 practice questions in the simulator.