Recall & Review
beginner
What is function deployment in Firebase?
Function deployment in Firebase means uploading your code to the cloud so it can run automatically when triggered.
Click to reveal answer
beginner
Which command is used to deploy Firebase functions?
The command
firebase deploy --only functions uploads your cloud functions to Firebase.Click to reveal answer
intermediate
Why should you test functions locally before deployment?
Testing locally helps catch errors early and ensures your function works as expected before using cloud resources.
Click to reveal answer
intermediate
What happens if you deploy a function with the same name as an existing one?
The existing function is replaced with the new code, updating its behavior in the cloud.
Click to reveal answer
beginner
Name one trigger type for Firebase functions.
An example trigger is an HTTP request, which runs the function when someone visits a URL.
Click to reveal answer
Which command deploys only Firebase functions?
✗ Incorrect
The command
firebase deploy --only functions uploads only the cloud functions.What does deploying a function do?
✗ Incorrect
Deployment uploads your function code to Firebase so it can run in the cloud.
If you deploy a function with the same name, what happens?
✗ Incorrect
Deploying with the same name replaces the existing function.
Which is NOT a trigger for Firebase functions?
✗ Incorrect
Local file save is not a cloud trigger for Firebase functions.
Why test functions locally before deployment?
✗ Incorrect
Testing locally helps find and fix errors before deploying.
Explain the steps to deploy a Firebase function from writing code to running it in the cloud.
Think about coding, testing, uploading, and triggering.
You got /4 concepts.
Describe what happens when you deploy a function with the same name as an existing one.
Consider how updates work in cloud deployments.
You got /3 concepts.