There are three Python certification exams on the market:
Microsoft MTA 98-381: Introduction to Programming Using Python
Python Institute PCAP-31-02/PCAP-31-03: Certified Associate in Python Programming
Python Institute PCEP-30-01: Certified Entry-Level Python Programmer
The questions will be from the following knowledge areas:
Basics, Data Types, Operators, Data Aggregates, Control Flow, Functions
I/O, Error Handling, Modules
There are six practice tests with preparation questions from all knowledge areas.
Which questions for which exam:
If you prepare for the Microsoft MTA 98-381 certification you can skip the questions from the knowledge area OOP.
If you prepare for the PCEP-30-01 certification you can skip the questions from the knowledge areas
OOP, I/O, Error Handling and Modules.
If you prepare for the PCAP-31-02/PCAP-31-03 certification you will need all knowledge areas.
Every question has an explanation and a try-it-yourself-code which you can run to better understand the topic.
Preparation question topics:
cache (__pycache__, pyc), encoding (encode(), UTF-8), escaping, indentation, sys.argv
basic data types (int, float, str, bool), chr-ord(), complex, copy(), del, eval(), id(), input(), isdigit(), mutable/immutable, None, octal notation, print() with parameter, scientific notation, string comparison, string concatenation, string slicing, type casting (int(), float(), str() bool()), type()
arithmetic operators, assignment operators & multiple assignments, bitwise operators, identity operator, logical operators, membership operator, operator precedence, relational operators
append(), dictionary, list, set, tuple, indexing & slicing, find() & rfind(), format(), insert(), keys() & values(), len(), list indexing & slicing, list(), set(), list/tuple concatenation, lower() & upper(), max(), sum(), pop(), remove(), sorted(), split(), tuple assignment
break & continue, conditional expression (if else), else (nobreak), for, generator expression, if elif else, list comprehension, range(), while
argument passing, built‑in functions, def, default parameter, function header, generator function, global, lambda, map(), sort(), mutable argument, naming functions, pass, positional/keyword argument, recursive functions, return, returning a tuple, scope, shadowing, yield
close(), open() and its modes, read(), readline(), readlines(), seek(), with, write(), writelines()
args, assert, AssertionError, AttributeError, BaseException, Exception, io.UnsupportedOperation, MemoryError, NameError, runtime error, try except else finally, TypeError, ZeroDivisionError
__name__, dir(), from & import, functools.reduce(), math (ceil(), fabs(), floor(), fmod(), frexp(), pi, pow()), os.path.isfile(), random (randint(), random(), randrange(), seed(), shuffle()), re modul, sys.exit()
__init__(), __str__(), class, class variable, constructor, hasattr(), inheritance, isinstance(), issubclass(), method overriding, multiple inheritance, object variables, operator overloading, self, super()
Here some general tips for online exams:
If you find the right answer, trust yourself and move on. You can double check later if there is still time.
Don't always look at the answers too early. If there is a question like "What is the expected output ...", try to calculate the output without looking at the answers. If you then find your calculation in the answers, Bingo!
You have to find your rhythm. If there is a question in the beginning, that blocks you, mark it and move on. You can do that one later.