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 81–90 of 150

Q81

What happens when an Azure Logic App fails due to connector errors?

  • A Logic app exits immediately.
  • B Automatic retry occurs.
  • C Unexpected termination.
  • D Immediate escalation to admin.
Explanation Azure Logic Apps automatically retry operations for connector errors, while the other options do not reflect its behavior.
Q82

Which service is used for serverless computing in Azure?

  • A Azure Functions
  • B Azure Blob Storage
  • C Azure Virtual Machines
  • D Azure SQL Database
Explanation Azure Functions provides serverless compute resources; the others are not serverless.
Q83

You are configuring a CI/CD pipeline in GitHub Actions for a .NET application. What YAML snippet should you include to build the application?

  • A dotnet build
  • B npm install
  • C dotnet deploy
  • D mvn package
Explanation 'dotnet build' is the correct command for building .NET applications; the others are for different environments.
Q84

What happens when a GitHub Action workflow fails?

  • A All steps are retried automatically.
  • B Subsequent steps are skipped.
  • C Error notification is disabled.
  • D Only logs are recorded.
Explanation When a workflow fails, subsequent steps are skipped to prevent cascading failures; others are incorrect implications.
Q85

Which service is best for container orchestration on Azure?

  • A Azure Kubernetes Service
  • B Azure Functions
  • C Azure Blob Storage
  • D Azure SQL Database
Explanation Azure Kubernetes Service manages containerized applications, while the others serve different purposes.
Q86

A company needs to automate its CI/CD pipeline on Azure using GitHub. Which is the most suitable feature?

  • A Azure DevOps
  • B GitHub Actions
  • C Azure Pipelines
  • D GitHub Webhooks
Explanation GitHub Actions directly integrates with GitHub repositories for CI/CD, whereas the others are separate tools.
Q87

You are configuring GitHub Actions for a repository. What happens when a job fails?

  • A Subsequent jobs continue running.
  • B All jobs stop running.
  • C Only the failed job is retried.
  • D A notification is sent only to admins.
Explanation In GitHub Actions, if a job fails, all subsequent jobs in that workflow stop running to prevent issues.
Q88

Which Azure service is specifically designed for serverless computing?

  • A Azure Functions
  • B Azure App Service
  • C Azure Kubernetes Service
  • D Azure Virtual Machines
Explanation Azure Functions provides serverless architecture, while others are not serverless.
Q89

A company needs to deploy a CI/CD pipeline that runs tests on code changes before merging. Which GitHub Actions feature can they use?

  • A Workflows
  • B Secrets
  • C Repositories
  • D Issues
Explanation Workflows automate the CI/CD process, while others serve different purposes.
Q90

What happens when you set a GitHub Actions workflow's concurrency to 2?

  • A Two jobs run simultaneously
  • B Two jobs queue up after one finishes
  • C Only two jobs can run at all
  • D Only the latest job runs
Explanation Setting concurrency to 2 means two jobs can run in parallel, if possible, but will queue afterwards.