C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
Deployment - Lesson 5: CI/CD with GitHub Actions Quiz
Answer all questions to test your understanding
1
What does CI/CD stand for?
Continuous Integration / Continuous Deployment
Code Integration / Code Deployment
Continuous Improvement / Continuous Delivery
Code Infrastructure / Code Development
2
Where are GitHub Actions workflows defined?
In the .github/workflows directory
In the root directory
In the src directory
In the config directory
3
What is the purpose of 'secrets' in GitHub Actions?
To store sensitive information securely
To store code
To store configuration
To store dependencies
4
Which event triggers a GitHub Actions workflow on code push?
workflow_dispatch
push
pull_request
schedule
5
What is the purpose of the 'needs' keyword in GitHub Actions?
To define job dependencies
To install dependencies
To run parallel jobs
To skip jobs
6
Which command runs tests in a .NET GitHub Actions workflow?
dotnet test
dotnet run
dotnet build
dotnet publish
7
What does the 'actions/checkout@v3' action do?
Checks out the repository code
Checks for errors
Checks dependencies
Checks the build status
8
What is the purpose of the 'azure/webapps-deploy@v2' action?
Deploys to Azure App Service
Creates an Azure account
Manages Azure databases
Configures Azure security
Submit Quiz