Microsoft Azure
GitHub Actions
GH-200
Master GitHub Actions with the GH-200 exam focused on automation.
150 questions
0 views
Free
Questions 1–10 of 150
Which service is specifically used for container orchestration in Azure?
-
A
Azure Kubernetes Service (AKS)
-
B
Azure Functions
-
C
Azure App Service
-
D
Azure Batch
Explanation
AKS is the service designed for managing containerized applications, while others serve different purposes.
A company needs to restrict unauthorized access to Azure resources. What should they use?
-
A
Network Security Groups
-
B
Azure Active Directory
-
C
Azure Blob Storage
-
D
Virtual Network Gateway
Explanation
Azure Active Directory manages authentication and access control, unlike the other options.
What happens when you delete an Azure Resource Group?
-
A
All resources are archived.
-
B
Resources are moved to another group.
-
C
All resources are permanently deleted.
-
D
Only the group's metadata is deleted.
Explanation
Deleting a Resource Group results in permanent deletion of all contained resources, not archiving or moving them.
Which service is used for Azure Continuous Deployment?
-
A
Azure DevOps
-
B
Azure Monitor
-
C
Azure Blob Storage
-
D
Azure Functions
Explanation
Azure DevOps provides tools for CI/CD workflows, whereas the others serve different purposes.
A company needs to store sensitive data securely in GitHub repositories. What feature should they use?
-
A
Branch permissions
-
B
GitHub Actions
-
C
Secret scanning
-
D
Encrypted secrets
Explanation
Encrypted secrets allow secure storage of sensitive data, while others do not specifically handle sensitive data.
What happens when a GitHub Action fails during execution?
-
A
The workflow aborts immediately
-
B
All subsequent steps continue
-
C
Only the failed step retries
-
D
The action notifies the repo admin
Explanation
When a step fails, the workflow aborts unless configured to ignore the failure.
Which service in Azure provides a fully managed CI/CD platform?
-
A
Azure DevOps
-
B
Azure Functions
-
C
Azure Storage
-
D
Azure Virtual Machines
Explanation
Azure DevOps offers comprehensive CI/CD solutions, while the others serve different purposes or contexts.
A company needs to automate its deployment to Azure every time a commit is made to the main branch. What should they implement?
-
A
Azure Monitor
-
B
GitHub Actions
-
C
Azure Security Center
-
D
Azure Key Vault
Explanation
GitHub Actions can automate deployments from GitHub repositories, whereas the others are unrelated to CI/CD practices.
What happens when you set an environment variable in a GitHub Actions workflow?
-
A
Only accessible in current step
-
B
Not accessible to any jobs
-
C
Available to all jobs in the workflow
-
D
Restricted to a single runner
Explanation
Environment variables set in a workflow are available across all jobs, while the other options misrepresent variable scoping.
Which service should you use for continuous deployment in Azure?
-
A
Azure Functions
-
B
Azure Pipelines
-
C
Azure Boards
-
D
Azure DevTest Labs
Explanation
Azure Pipelines automates building and deployment workflows effectively, whereas the other options serve different functions.