Step 1: Identify the correct trigger for new Firebase Authentication users
The trigger functions.auth.user().onCreate runs when a new user is created in Firebase Authentication.
Step 2: Confirm the logging of user email
The callback receives a user object with an email property, which can be logged directly.
Step 3: Differentiate from other triggers
Database triggers listen to database changes, HTTP triggers respond to requests, and storage triggers respond to file changes, so they are incorrect here.
Final Answer:
Use auth user onCreate trigger to log new user email. -> Option D
Quick Check:
Auth user onCreate triggers new user events [OK]
Hint: Use auth.user().onCreate for new Firebase Authentication users [OK]
Common Mistakes:
Using database triggers for auth events
Using HTTP triggers to detect user creation
Confusing storage triggers with auth triggers
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.