Microsoft Azure

Designing and Implementing Microsoft DevOps Solutions

AZ-400
Popular

The AZ-400 exam tests your skills in designing and implementing DevOps practices on Azure.

144 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 21–30 of 144

Q21

You are configuring GitHub Actions for your repository. What happens if a workflow file is missing from the default branch?

  • A Workflows will run successfully
  • B No workflows will be triggered
  • C Errors will occur at runtime
  • D Only manual triggers will work
Explanation Without the workflow file, there are no instructions to run the workflows.
Q22

Which service allows you to automate deployments in Azure DevOps?

  • A Azure Pipelines
  • B Azure Repos
  • C Azure Test Plans
  • D Azure Artifacts
Explanation Azure Pipelines is specifically designed for automating deployment and CI/CD, while others serve different functions.
Q23

A company needs to implement Infrastructure as Code for their Azure resources. Which tool should they primarily use?

  • A Azure Automation
  • B Azure Resource Manager (ARM) Templates
  • C Azure Functions
  • D Azure Logic Apps
Explanation Azure Resource Manager (ARM) Templates enable Infrastructure as Code, while others do not focus directly on infrastructure provisioning.
Q24

What happens when a pull request is set for branch policies in Azure Repos?

  • A It merges automatically.
  • B It requires reviews and checks.
  • C It cancels the merge.
  • D It notifies all team members.
Explanation Branch policies enforce rules like mandatory reviews and checks to ensure code quality before merging.
Q25

Which service facilitates continuous integration and deployment in Azure DevOps?

  • A Azure Pipelines
  • B Azure Repos
  • C Azure Boards
  • D Azure Test Plans
Explanation Azure Pipelines is designed for CI/CD, while the others serve different purposes.
Q26

A company needs to securely store sensitive data used in Azure pipelines. What should they use?

  • A Azure Blob Storage
  • B Azure Key Vault
  • C Application Configuration
  • D Azure Repos
Explanation Azure Key Vault is specifically designed for securely storing sensitive information, unlike the other options.
Q27

You are configuring Azure DevOps permissions. What happens when a user has 'Allow' permission on a resource and 'Deny' permission on a child resource?

  • A User access is always denied.
  • B User access is always allowed.
  • C User access is conditional.
  • D Deny overrides Allow.
Explanation In Azure DevOps, Deny permissions always take precedence over Allow permissions.
Q28

Which service provides automated testing and continuous integration?

  • A Azure DevOps
  • B Azure Storage
  • C Azure Functions
  • D Azure VMs
Explanation Azure DevOps offers CI/CD tools, while others do not have this focus.
Q29

A company needs to securely store secrets for an application. Which Azure service should they use?

  • A Azure Key Vault
  • B Azure Blob Storage
  • C Azure SQL Database
  • D Azure App Service
Explanation Azure Key Vault is designed for managing secrets, while the others provide different functions.
Q30

What happens when a build pipeline fails in Azure DevOps?

  • A It is automatically retried
  • B It gets canceled immediately
  • C Build logs are ignored
  • D Notifications can trigger alerts
Explanation Failed builds can trigger notifications, but automatic retries and cancellations do not occur by default.