A real TensorFlow Developer question first, not a wall of copy
Correct answer plus per-choice explanation
Source link for follow-up study
Free daily set, then full-bank Pro when you want more
Question 1 of 10
Objective tf.018Image Classification And Computer Vision
During feature extraction with a pretrained MobileNetV2 base, which setting keeps the pretrained base weights fixed?
Correct Answer: A. base_model.trainable = False
Concept tested: Image Classification And Computer Vision
A. ✓ Correct: Setting the pretrained base model to non-trainable prevents its weights from being updated during feature extraction.
B. × Incorrect: Run_eagerly changes execution style, not whether pretrained layers are frozen.
C. × Incorrect: Classifier activation affects output behavior, not trainability of the base network.
D. × Incorrect: Validation_steps controls evaluation iteration count and does not freeze weights.
Why this matters:This matters because feature extraction depends on preserving useful pretrained representations while training a smaller task-specific head.
Question 2 of 10
Objective tf.015Data Pipelines
According to the TensorFlow data performance guide, which method can be used to enhance pipeline efficiency by caching preprocessed data in memory for reuse across multiple epochs?
Correct Answer: A. Dataset.cache
Concept tested: Data Pipelines
A. ✓ Correct: Caching preprocessed data with Dataset.cache improves pipeline performance by avoiding redundant preprocessing across multiple epochs.
B. × Incorrect: Dataset.batch groups elements into fixed-size batches but does not cache them for reuse, thus it doesn't enhance efficiency across epochs.
C. × Incorrect: Dataset.prefetch overlaps preprocessing tasks with model execution to optimize input pipeline performance during training, but it does not cache data.
D. × Incorrect: Dataset.map applies a function to each element of the dataset but does not involve caching preprocessed data for reuse.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support Dataset.cache.
Question 3 of 10
Objective tf.019Images And Vision
When fine-tuning a pretrained model for an image classification task, which method is recommended to update only the last few layers of the classifier part?
Correct Answer: A. Unfreeze the last few layers and keep others frozen.
Concept tested: Images And Vision
A. ✓ Correct: Unfreeze the last few layers and keep others frozen because this approach enables targeted updates to the classifier while maintaining the integrity of earlier feature detectors.
B. × Incorrect: Train all layers simultaneously with a low learning rate because training all layers at once can lead to overfitting due to the large number of parameters being adjusted.
C. × Incorrect: Replace the entire classifier with a new dense layer because replacing the classifier entirely would discard valuable pre-trained features and require extensive retraining.
D. × Incorrect: Freeze all layers except for the first convolutional block because unfreezing only early layers is less effective for fine-tuning tasks that benefit from later feature extraction.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support Unfreeze the last few layers and keep others frozen.
Keep the momentum
You're 3 questions in. Want the full bank?
Unlock the full question set, timed exam mode, practice mode, saved progress, previous tests, and readiness scoring.
138 more questions, timed exam mode, and saved history are waiting in the full unlock.
Pro is active. Use the full bank, Exam mode, and saved box scores when you want deeper review.
Question 4 of 10
Objective tf.027Saving Serving And Deployment
According to the TensorFlow data input pipeline guide, which method is recommended for creating a TensorFlow dataset from a Python generator?
Correct Answer: A. from_generator()
Concept tested: Saving Serving And Deployment
A. ✓ Correct: `from_generator()` is recommended for creating a TensorFlow dataset from a Python generator.
B. × Incorrect: `from_tensor_slices()` creates datasets from NumPy arrays or tensors, not generators.
C. × Incorrect: `make_one_shot_iterator()` is used to create an iterator that reads the entire dataset in one go and does not support dynamic data generation.
D. × Incorrect: `initializable_iterator()` requires manual initialization with a session run call and does not directly work with Python generators.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support from_generator().
Question 5 of 10
Objective tf.002TensorFlow Fundamentals
According to the TensorFlow variable guide, what property makes `tf.Variable` suitable for trainable parameters?
Correct Answer: A. Its value can be changed by running ops on it.
Concept tested: TensorFlow Fundamentals
A. ✓ Correct: The guide explains that a tf.Variable is a tensor whose value can be changed by running ops on it.
B. × Incorrect: This describes initialization only and misses the key point that Variables keep changing during training.
C. × Incorrect: Constants are immutable, while Variables are specifically meant to be updated.
D. × Incorrect: Shape declaration is not the primary purpose of `tf.Variable`.
Why this matters:This matters because TensorFlow Fundamentals questions test whether Its value can be changed by running ops on it fits the scenario's constraints, not just whether the term sounds familiar.
Question 6 of 10
Objective tf.008Training And Evaluation
When using the `evaluate` method in TensorFlow Keras to assess a model's performance, which parameter is used to specify the validation data?
Correct Answer: A. validation_data=(x_val, y_val)
Concept tested: Training And Evaluation
A. ✓ Correct: The `validation_data` parameter specifies the data to be used for evaluation during training. This allows you to assess model performance on unseen data, which helps prevent overfitting.
B. × Incorrect: The `metrics` parameter defines the metrics that should be calculated during evaluation but does not specify validation data.
C. × Incorrect: The `loss` parameter specifies the loss function used for training and does not relate to validation data.
D. × Incorrect: The `batch_size` parameter controls the number of samples processed before updating model weights, which is unrelated to specifying validation data.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support validation_data=(x_val, y_val).
Question 7 of 10
Objective tf.023Text Structured And Sequence Data
Why wrap an LSTM with Bidirectional in the TensorFlow text classification model?
Correct Answer: A. To read sequence context in both forward and backward directions
Concept tested: Text Structured And Sequence Data
A. ✓ Correct: Bidirectional runs a recurrent layer over the sequence in both directions.
B. × Incorrect: Label conversion is not the role of a recurrent layer wrapper.
C. × Incorrect: Dataset caching is handled by tf.data pipeline methods.
D. × Incorrect: Freezing filters is a transfer-learning image-model concern.
Why this matters:This matters because directionality changes what context a sequence model can use for classification.
Question 8 of 10
Objective tf.016Image Classification And Computer Vision
In the image classification tutorial, how is the prediction array used to choose the model result for an input image?
Correct Answer: A. Select the class entry with the largest predicted score.
Concept tested: Image Classification And Computer Vision
A. ✓ Correct: The largest value in the prediction output identifies the class the model considers most likely.
B. × Incorrect: Averaging scores would lose the per-class ranking needed for classification.
C. × Incorrect: Class_names only maps indices to labels; it does not decide the prediction.
D. × Incorrect: Training labels are not used to classify a new input image.
Why this matters:This matters because interpreting model outputs correctly is part of turning raw predictions into useful application behavior.
Question 9 of 10
Objective tf.012Data Pipelines
In TensorFlow, which method is used to apply a function that reshapes each element of a dataset before it reaches the model?
Correct Answer: A. Dataset.map
Concept tested: Data Pipelines
A. ✓ Correct: Dataset.map applies a function to each element of the dataset, allowing for transformations such as reshaping before feeding into the model.
B. × Incorrect: Dataset.shuffle randomly shuffles elements in the dataset but does not apply a transformation function.
C. × Incorrect: Dataset.batch groups elements from the dataset into batches but does not reshape individual elements.
D. × Incorrect: Dataset.prefetch fetches the next element of an input pipeline ahead of time to improve performance, without applying transformations.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support Dataset.map.
Question 10 of 10
Objective tf.020Images And Vision
According to the TensorFlow load images tutorial, which method is used to load image datasets from a directory containing subdirectories of images labeled by class name?
Correct Answer: A. tf.keras.preprocessing.image.ImageDataGenerator.flow_from_directory()
Concept tested: Images And Vision
A. ✓ Correct: It correctly identifies the method used to load image datasets from a directory containing subdirectories of images labeled by class name, as per the TensorFlow tutorial.
B. × Incorrect: Tf.data.Dataset.from_tensor_slices() is used for creating datasets from tensor slices and not specifically for loading images from directories.
C. × Incorrect: Tf.io.read_file() reads the contents of a file into a string Tensor but does not load image datasets from directories.
D. × Incorrect: Tf.image.decode_jpeg() decodes JPEG-encoded images to 3-D uint8 tensors and is used for decoding images, not loading them from directories.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support tf.keras.preprocessing.image.ImageDataGenerator.flow_from_dir....
Free preview complete
You've reached the free preview.
Go beyond sample questions with the full source-backed bank, objective practice, exam mode, saved progress, and readiness scoring.
148 verified questions are ready behind the full unlock.
Pro is active. Use the full bank, readiness score, and saved exams when you want deeper reps.
Ready to finish?Answer the questions, then submit your test for review.
Go Pro
Unlock the full TensorFlow Developer bank.
Get the full source-backed bank, timed exam mode, practice mode, saved progress, previous tests, and readiness scoring for this exam.
148 full-bank questionsEvery choice explainedExam Mode and Practice ModeQuestion sets and random testsReadiness score and trendsPrevious test box scores
You've answered 0/10 free questions today.
Locked: 138 more questions in the full bank.
Locked: exam simulation mode and end-of-exam review.
Today's free set refreshes soon. Upgrade to continue with the full bank.
Box scores, domain breakdowns, and full answer explanations for Pro exam attempts on this browser.
Today’s Set
10 questions
Daily set rotates at 10:00 AM local time
Progress
0/10
Answered on this page session
Accuracy
0%
Loading countdown…
7-day score keeper
Answer questions today and this will become a rolling 7-day scorecard.
Local history
Optional progress sync
Keep today’s practice moving
Guest progress saves automatically on this device. Add an email later when you want a magic link that keeps your daily TensorFlow Developer practice in sync across browsers.
Guest progress saves on this device automatically
148 verified questions are currently in the live bank. Questions updated at May 12, 2026, 6:24 PM CDT. The daily set rotates at 10:00 AM local time, and each explanation links back to the source used to write it. Use the web set for quick practice, then switch to the app when available for larger banks and deeper review.
Careers and fields this exam supports
TensorFlow Developer fits hands-on model builders who want stronger practical fluency with training, evaluation, and neural-network workflows.
Role examples: machine learning engineer, AI developer, model builder, and deep learning practitioner.
Where it shows up: deep learning, model training, neural networks, and applied ML development.
On-the-job payoff: you want more build-level ML experience than a fundamentals cert usually expects.
Typical next step: It often supports broader AI engineering paths alongside MLOps and platform certifications.
TensorFlow Developer is easiest once you understand what this exam is really rewarding beyond surface memorization.
Current emphasis in this bank: TensorFlow Fundamentals (27%).
Questions in this DeepLearning.AI lane usually separate the right answer from the merely familiar answer by scenario fit, scope, and the exact decision the exam is testing.
Best official starting point: DeepLearning.AI TensorFlow Developer Professional Certificate.
dotCreds builds TensorFlow Developer practice questions from DeepLearning.AI documentation and source-backed references, with official or primary sources preferred first. The questions are written for realistic study practice, not copied from exam dumps.
How are explanations sourced?
Each question includes a source-backed explanation and a link to the documentation or reference used to validate the answer. If an official page is too broad, dotCreds uses a reputable answer-level reference instead of pretending a generic page proves the answer.
What score do I get?
The page tracks today's answered count and accuracy for the 10-question daily set, then saves a 7-day score history on this device so you can see your recent practice trend.
Why use this site?
The site is the fastest way to start TensorFlow Developer practice without installing anything. It is built for daily recall, quick weak-topic discovery, and source-backed explanations you can review immediately.
Why use the app when available?
The web page is the quick free sampler. If a dotCreds app is available for TensorFlow Developer, the app is better for larger banks, focused weak-domain drills, longer review sessions, and mobile study routines.
Related practice tests
If you want another cert after TensorFlow Developer, these pages keep the same daily-question format with source-backed explanations.