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
Questions 51–60 of 144
You are configuring a CI/CD pipeline using Azure Pipelines. What happens when you define a trigger with 'paths' condition?
-
A
Triggers on failed builds only
-
B
Builds only on specific files changed
-
C
Completely ignores path changes
-
D
Always triggers a build regardless of files
Explanation
Defining a 'paths' condition allows builds only when certain files or directories are changed, filtering unnecessary builds.
Which Azure service is best for orchestrating container deployments?
-
A
Azure Kubernetes Service
-
B
Azure Functions
-
C
Azure App Service
-
D
Azure Logic Apps
Explanation
Azure Kubernetes Service is specifically designed for managing containerized applications, while the others serve different purposes.
A company needs to reduce deployment failures caused by environment inconsistencies. What should they implement?
-
A
Continuous Integration only
-
B
Infrastructure as Code
-
C
Manual deployments
-
D
Increased monitoring only
Explanation
Infrastructure as Code automates environment provisioning and ensures consistency, unlike the other options.
You are configuring a CI/CD pipeline. What happens when a build fails during the testing phase?
-
A
The pipeline stops automatically
-
B
The next stage executes immediately
-
C
The build artifacts are created
-
D
The pipeline retries the test indefinitely
Explanation
The pipeline stops automatically to prevent deploying broken code, while the other options do not reflect typical CI/CD behavior.
Which service is best for automating infrastructure deployments in Azure?
-
A
Azure Resource Manager
-
B
Azure Functions
-
C
Azure Blob Storage
-
D
Azure SQL Database
Explanation
Azure Resource Manager provides automation for resource provisioning and management, while the others serve different purposes.
A company needs to ensure only approved users can deploy to production. What service should they use?
-
A
Azure DevOps Repos
-
B
Azure Active Directory
-
C
Azure Policy
-
D
Azure Monitor
Explanation
Azure Policy enforces governance for compliance, while others manage code or user authentication.
You are configuring a CI/CD pipeline. What happens if a build fails?
-
A
Pipeline always succeeds
-
B
Pipeline stops and doesn't deploy
-
C
Pipeline retries without notification
-
D
Pipeline preserves the last successful build
Explanation
A failed build halts the pipeline to prevent faulty deployments, unlike the other options which imply incorrect behavior.
Which service is best for CI/CD automation in Azure?
-
A
Azure DevOps
-
B
Azure Blob Storage
-
C
Azure Firewall
-
D
Azure Load Balancer
Explanation
Azure DevOps provides comprehensive CI/CD capabilities; the others serve different purposes.
A company needs to ensure cloud resources are always available. What feature should they implement?
-
A
Hyper-V Replica
-
B
Geo-Redundant Storage
-
C
Role-Based Access Control
-
D
Azure Resource Manager
Explanation
Geo-Redundant Storage replicates data across regions, ensuring availability; others do not provide high availability features.
You are configuring Azure Key Vault. What happens when you enable access policies?
-
A
Access denied to all secrets
-
B
Public access to all vault contents
-
C
Specific permissions for Azure services
-
D
Hidden secrets for all users
Explanation
Enabling access policies grants specific permissions; the others do not accurately describe its function.