Microsoft Azure

GitHub Actions

GH-200

Master GitHub Actions with the GH-200 exam focused on automation.

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

Questions 1–10 of 150

Q1

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.
Q2

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.
Q3

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.
Q4

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.
Q5

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.
Q6

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.
Q7

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.
Q8

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.
Q9

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.
Q10

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.