A. Gemini has safety measures to handle unsafe queries by not generating responses. Safety ratings are provided for categories like harassment, danger, hate speech, and sexuality, helping users understand why certain queries may not receive responses.