CCP: Data Engineer Exam (DE575) : Programming Language

Is it ok, if we know only scala, or we have to know both scala and python, what are possibilities that a question will asked to be answered only with python