what was the name of the state in northern Africa that had become a hotspot in 1905 and 1911 due to the fact that Germany attempted to prevent France from imposing this protectorate? Morocco

Yes, Morocco. See http://www.mtholyoke.edu/acad/intrel/boshtml/bos137.htm