Microsoft Azure
GitHub Actions
GH-200
Master GitHub Actions with the GH-200 exam focused on automation.
150 questions
0 views
Free
Questions 91–100 of 150
Which Azure service is primarily used for event-driven architecture?
-
A
Azure Functions
-
B
Azure Blob Storage
-
C
Azure Virtual Machines
-
D
Azure SQL Database
Explanation
Azure Functions is designed for event-driven processes, while others are for storage or computing.
A company needs to automate its deployment process. Which GitHub Actions feature should they use?
-
A
Workflows
-
B
Issues
-
C
Forks
-
D
Pull Requests
Explanation
Workflows automate processes, while issues and forks serve different functions.
What happens when a GitHub Action fails during execution?
-
A
It auto-corrects the error.
-
B
It stops the entire workflow.
-
C
It retries the step automatically.
-
D
It marks the issue as resolved.
Explanation
A failure stops the workflow unless configured to continue on errors.
Which service can automate code reviews in GitHub Actions?
-
A
CodeQL
-
B
Azure Functions
-
C
Azure Key Vault
-
D
Container Instances
Explanation
CodeQL is specifically designed for code analysis and reviewing, while the other options serve different purposes.
A company needs to run a job in response to a pull request. What GitHub Actions feature should they use?
-
A
Workflow triggers
-
B
Repository secrets
-
C
Scheduled triggers
-
D
Environment variables
Explanation
Workflow triggers allow jobs to initiate based on events like pull requests, whereas the other options don't trigger jobs directly.
You are configuring a secret in a GitHub repository. What happens when you reference a secret in a job?
-
A
It becomes publicly visible
-
B
Its value is stored in job logs
-
C
Only accessible within pull requests
-
D
Used without revealing its value
Explanation
Referencing a secret in a job uses its value without exposing it, while the other options incorrectly describe secret handling.
Which service provides automated code quality checks in Azure DevOps?
-
A
Azure Static Web Apps
-
B
Azure Monitor
-
C
Azure DevOps Pipelines
-
D
Azure Cognitive Services
Explanation
Azure DevOps Pipelines can implement automated code quality checks, while the others focus on different functions.
A company needs to run multiple containers in a scalable manner. Which service should they use?
-
A
Azure Functions
-
B
Azure Kubernetes Service
-
C
Azure Blob Storage
-
D
Azure Virtual Machines
Explanation
Azure Kubernetes Service is designed for container orchestration and scaling.
You are configuring a CI/CD pipeline in GitHub Actions. What happens when a job fails?
-
A
All subsequent jobs still run
-
B
The workflow continues with warnings
-
C
The workflow stops immediately
-
D
Only subsequent jobs in the same job run
Explanation
When a job fails in GitHub Actions, the entire workflow stops unless specified otherwise.
Which service is used for managing Azure resources programmatically?
-
A
Azure CLI
-
B
Azure Monitor
-
C
Azure Functions
-
D
Azure DevOps
Explanation
Azure CLI allows programmatic management of Azure resources, while the other options serve different purposes.