Why Study with PlanetCert?
The Latest Questions
Practice questions and exam topics aligned with the current exam objectives.
Detailed Explanations
Go beyond the answer. Master the material with comprehensive learning and professional explanations for every concept.

AI-Powered Insights
Personalized preparation guidance that adapts to your performance and identifies weak spots automatically.
Exam Information
Official specifications published by Linux Foundation
Exam Format
Registration
Validity
Skills this practice test covers
- Create tensors, change their shape and data type, and run operations on them.
- Place models and tensors on the right device: CPU, CUDA or MPS.
- Write the code that trains a model, evaluates it and runs it for inference.
- Assemble a network from layers, activation functions, a loss function and an optimizer.
- Cut memory use and training time with mixed precision, then confirm the gain by profiling.
- Feed a model through a custom Dataset, a DataLoader and a chain of transforms.
Explore related topics
PTCA exam content
4 domains · 12 topics · 150 questions
PyTorch Fundamentals38%56 questions
The largest domain covers the basics that every later task depends on. Candidates work with tensors, follow a model through training, testing and use, and place the work on a suitable device.
Skills tested
- Create tensors from Python data and change their shape, data type and device.
- Explain how autograd records tensor operations and computes gradients.
- Put the steps of a training loop in order, from the forward pass to the optimizer step.
- Switch a model between training and evaluation, and run it for inference.
- Choose between CPU, CUDA and MPS, and keep a model and its data on the same device.
Questions by topic
- Tensor creation and operations19
- PyTorch core concepts and workflow11
- Training / evaluation / inference workflow14
- Device placement and management12
Model Development20%30 questions
This domain has one competency: the neural network building blocks that PyTorch provides. Candidates combine layers, activation functions, loss functions and optimizers into a model that trains.
Skills tested
- Define a model as a subclass of nn.Module with its own forward method.
- Pick layers and activation functions that fit the shape of the input data.
- Match a loss function to the task, such as classification or regression.
- Connect an optimizer to the model's parameters and set its learning rate.
Questions by topic
- Layers, activations, losses, and optimizers30
Performance & Optimization26%39 questions
This domain is about making training faster and bigger. Candidates choose lower-precision number formats, measure where time and memory go, and spread training across more than one device.
Skills tested
- Apply mixed precision to reduce memory use and speed up training.
- Profile and benchmark a model to find its slowest operations.
- Explain how distributed training splits work across several GPUs or machines.
- Compare two runs to judge whether a precision or execution change helped.
Questions by topic
- Mixed precision and execution optimization15
- Profiling and benchmarking10
- Scaling training across devices14
Data Handling16%25 questions
This domain covers how data reaches the model. Candidates build Datasets, serve them in batches with DataLoaders, apply transforms, and prepare the training data.
Skills tested
- Write a custom Dataset that returns one sample and its label by index.
- Set batch size, shuffling and worker processes on a DataLoader.
- Apply transforms that convert and augment samples as they load.
- Split data into training, validation and test sets.
Questions by topic
- Building and using datasets6
- Batching and loading data9
- Data transformations and augmentation6
- Preparing and splitting training data4
Requirements
- No formal prerequisites: anyone can book the exam.
- Recommended: some experience with Python and with machine learning.
- Recommended: a first few small projects built with PyTorch.
About the PTCA exam
The PTCA exam checks that a newcomer to PyTorch understands how models are designed, trained and run with it. The Linux Foundation and the PyTorch Foundation created it for early-stage practitioners who already know some Python and some machine learning. Its four domains go from tensors and devices to network building blocks, faster training and data loading. Passing earns the PyTorch Certified Associate certification, which stays valid for two years.
PyTorch Fundamentals is the largest domain, and it also has the most questions in the PlanetCert practice test, many of them on creating and operating on tensors. Every answer comes with an explanation, which helps with device mistakes such as a tensor left on the CPU while the model runs on a CUDA device. Study Mode suits the Performance & Optimization questions on mixed precision and distributed training, where each option needs a careful read. Brainy AI Assistant can walk through a training loop line by line or explain what a DataLoader setting changes.
How to earn the certification
- Earns
- PyTorch Certified Associate (PTCA)Associate
The certification stays valid for two years. Passing the exam again before it expires renews it for another two years.
How to prepare for PTCA
- 1
Install PyTorch and inspect devices
Install PyTorch locally or in a hosted notebook, then check which devices it can see: CPU, CUDA or MPS. Device questions are easier after moving a real tensor and model between them.
- 2
Write a training loop from memory
PyTorch Fundamentals is the largest domain. Build a small classifier and write its training, evaluation and inference code without copying, until every line has a clear purpose.
- 3
Swap the parts of one model
Change the layers, activation functions, loss function and optimizer of the same model, and watch how the loss responds. This covers the Model Development domain by hand.
- 4
Measure before and after tuning
Profile one training run, turn on mixed precision, and profile it again. Performance & Optimization is the second largest domain, so also read how distributed training splits the work.
- 5
Close with the PTCA practice test
Work through the practice test one domain at a time in Study Mode, then take a full run in Timed Mode. Ask Brainy AI Assistant about any tensor shape or DataLoader setting behind a wrong answer.
Start a timed PTCArun
The Linux Foundation offers the self-paced course PyTorch Essentials: An Applications-First Approach (LFD273) and the PTCA Certification Pathway, which follows the exam's domains and competencies.
Who PTCA is for
- Python developers who are beginning to train models with PyTorch.
- Data science students who want proof of their first PyTorch skills.
- Software engineers who join AI and machine learning teams and need to follow their model code.
Typical job titles: Machine learning engineer · Junior data scientist · AI developer · Python developer · Research engineer
PTCA glossary
12 terms from the exam objectives and the vendor's official material, each defined in a sentence.
- Autograd
- PyTorch's automatic differentiation engine. It records the operations on tensors and computes the gradients that training needs.
- CUDA
- NVIDIA's platform for running computations on its GPUs. PyTorch uses it when a tensor or model is placed on a cuda device.
- DataLoaders
- Objects that wrap a dataset and serve its samples in batches, with optional shuffling and parallel loading.
- Datasets
- PyTorch objects that store samples and their labels and return one item at a time by index.
- Distributed Training
- Training one model on several GPUs or machines at once, with each device handling part of the data or part of the model.
- Mixed precision
- Training that runs some operations in a lower-precision number format, such as 16-bit floats, to save memory and time with little loss of accuracy.
- MPS
- The PyTorch device for Mac GPUs. It runs tensor work through Apple's Metal Performance Shaders framework.
- Neural Network (NN) Building Blocks
- The ready-made parts in PyTorch's torch.nn package, such as layers, activation functions and loss functions, that combine into a model.
- Profiling
- Measuring where a program spends its time and memory, so that the slowest operations can be found and improved.
- Tensors
- PyTorch's core data structure: grids of numbers with any number of dimensions that hold a model's inputs, weights and outputs.
- Training Data
- The examples a model learns from. They are kept apart from the validation and test data that measure how well the model works.
- Transforms
- Functions applied to each sample as it loads, such as resizing an image or turning it into a tensor, often used for data augmentation.