What happens when you delete a resource group in Azure?
AOnly resources within it are deleted
BResources are archived for recovery
CAll resources within it are deleted
DGroup is marked for deletion only
Explanation
All resources within a resource group are permanently deleted when the group is deleted, while the other options suggest different outcomes.
Q112
Which service is best for automated deployment workflows in Azure?
A company needs to monitor their GitHub Actions workflow's performance. Which tool can they use?
AAzure Monitor
BLog Analytics
CGitHub Actions Insights
DAzure Application Insights
Explanation
GitHub Actions Insights provides specific metrics for workflows; others monitor Azure resources.
Q114
What happens when a GitHub Actions workflow runs and encounters an error before reaching the last step?
AThe entire workflow fails.
BOnly the failing step is skipped.
CAll previous steps are rolled back.
DThe workflow continues with next steps.
Explanation
The workflow fails immediately, preventing any further execution; the others imply undesired behavior.
Q115
Which service provides serverless compute for Azure Functions?
AAzure App Service
BAzure Kubernetes Service
CAzure Logic Apps
DAzure Functions Host
Explanation
Azure Functions Host runs serverless functions; other options provide different capabilities.
Q116
A company needs to automatically deploy their web application to Azure after each pull request. What action should they configure in their GitHub Actions workflow?
ARun tests before the deployment
BDeploy on push to main branch
CSchedule deployments nightly
DUse manual deployment approval
Explanation
Running tests ensures stability before deployment, while others may not achieve automatic deployment on pull requests.
Q117
What happens when you set a GitHub Actions workflow to trigger on 'pull_request' and 'push' events?
AOnly push events trigger the workflow
BOnly pull requests trigger it
CBoth events trigger the same workflow
DConflicts occur, workflow doesn't run
Explanation
Both events trigger the workflow, allowing for comprehensive CI/CD.
Q118
Which Azure service is primarily used for building APIs?
AAzure API Management
BAzure Storage
CAzure SQL Database
DAzure Functions
Explanation
Azure API Management enables creation and management of APIs, while others serve different purposes.
Q119
A company needs to orchestrate a multi-step workflow including approvals. Which Azure service should they use?
AAzure Logic Apps
BAzure Functions
CAzure DevOps
DAzure Event Grid
Explanation
Azure Logic Apps is designed for creating workflows; other options do not specifically manage workflows.
Q120
What happens when you set 0% auto-scaling in Azure App Service?
AApp scales down to zero instances
BApp remains at existing instance count
CApp will shut down entirely
DAuto-scaling is disabled permanently
Explanation
Setting 0% auto-scaling allows the app to scale down to zero instances during low demand.