Microsoft Azure
GitHub Foundations
GH-900
Get ready for the GH-900 exam to establish your foundational skills in GitHub.
150 questions
0 views
Free
Questions 91–100 of 150
What happens when you delete a branch in Azure Repo that has unmerged changes?
-
A
Unmerged changes are lost.
-
B
Unmerged changes become part of main branch.
-
C
Branch is archived automatically.
-
D
Unmerged changes are moved to a new branch.
Explanation
Deleting the branch will permanently remove unmerged changes; they cannot be recovered.
A company needs to deploy a web application that can scale automatically based on demand. Which Azure service should they use?
-
A
Azure Functions
-
B
Azure Virtual Machines
-
C
Azure App Service
-
D
Azure Storage
Explanation
Azure App Service provides automatic scaling capabilities for web apps based on demand.
You are configuring role-based access in Azure DevOps. What effect does assigning the 'Contributor' role have on users in a project?
-
A
Users can manage project settings.
-
B
Users can read and write to all repositories.
-
C
Users can only view the project.
-
D
Users can delete project items.
Explanation
The 'Contributor' role allows users to read and write to all repositories, not manage settings or delete items.
Which service helps optimize Azure costs?
-
A
Azure Advisor
-
B
Azure Functions
-
C
Azure Logic Apps
-
D
Azure DevOps
Explanation
Azure Advisor provides recommendations for cost optimization, while the other services do not focus primarily on cost management.
A company needs to ensure their API can handle authentication securely. Which Azure service is best suited for this?
-
A
Azure API Management
-
B
Azure Storage
-
C
Azure CDN
-
D
Azure Function Apps
Explanation
Azure API Management is designed for secure API access and management, unlike the other services listed.
You are configuring a web app with automatic scaling. What must you ensure for effective scaling?
-
A
Static IP address assigned
-
B
High availability configuration
-
C
Application settings adjust automatically
-
D
Autoscaling rules are defined
Explanation
Autoscaling rules enable the service to scale based on demand, while the other options do not control scaling directly.
Which service provides real-time analytics on streaming data?
-
A
Azure Stream Analytics
-
B
Azure Data Lake
-
C
Azure Blob Storage
-
D
Azure Virtual Machines
Explanation
Azure Stream Analytics is designed for real-time analytics, while the others are for storage or compute.
A company needs to integrate GitHub PR reviews into their CI/CD pipeline. Which tool would best facilitate this?
-
A
GitHub Actions
-
B
Azure DevOps Boards
-
C
GitHub Pages
-
D
Azure Container Instances
Explanation
GitHub Actions integrates directly with PR reviews in CI/CD workflows.
What happens when you deploy an application using Azure App Service with a continuous deployment setting?
-
A
Deployment runs with no user intervention.
-
B
Only source code changes are deployed.
-
C
Manual intervention is mandatory.
-
D
Backup of the application is created.
Explanation
Continuous deployment allows automated deployment without user intervention after a code push.
Which service would you use for serverless computing on Azure?
-
A
Azure Functions
-
B
Azure App Service
-
C
Azure Kubernetes Service
-
D
Azure Virtual Machines
Explanation
Azure Functions provides a serverless execution model, unlike the other services listed.