The CCSE exam (Spanish constitutional and socio-cultural knowledge test) is a test designed by the Instituto Cervantes which everyone who wants to apply for Spanish citizenship has to pass. The test contains 25 questions about various subjects including Spanish law, citizens’ rights and responsibilities, as well as Spanish geography, history and daily life. The test lasts 45 minutes.
You can find more information about the test on the Instituto Cervantes website.