Python Institute Entry-Level AI Engineer with Python (PCEI) Certification Sample Questions

Entry-Level AI Engineer with Python Dumps, PCEI Dumps, PCEI PDF, Entry-Level AI Engineer with Python VCE, Python Institute PCEI VCE, Python Institute PCEI-30-01 PDFThe purpose of this Sample Question Set is to provide you with information about the Python Institute Certified Entry-Level AI Engineer with Python exam. These sample questions will make you very familiar with both the type and the difficulty level of the questions on the PCEI certification test. To get familiar with real exam environment, we suggest you try our Sample Python Institute Entry-Level AI Engineer with Python Certification Practice Exam. This sample practice exam gives you the feeling of reality and is a clue to the questions asked in the actual Python Institute Certified Entry-Level AI Engineer with Python (PCEI) certification exam.

These sample questions are simple and basic questions that represent likeness to the real Python Institute PCEI exam questions. To assess your readiness and performance with real time scenario based questions, we suggest you prepare with our Premium Python Institute Entry-Level AI Engineer with Python Certification Practice Exam. When you solve real time scenario based questions practically, you come across many difficulties that give you an opportunity to improve.

Python Institute PCEI exam at a glance
Exam PCEI™ – Certified Entry-Level AI Engineer with Python
Number of questions 36
Duration 60 minutes
Time per question about 1.7 minutes
Passing score 75%
Exam fee USD 69

Python Institute PCEI Sample Questions:

01. A logistics planner assigns a customer to the nearest depot on a grid map:
import math
customer = (2, 3)
depots = {"North": (5, 7), "East": (6, 3), "West": (0, 0)}
best = None
for name, (x, y) in depots.items():
d = math.sqrt((x - customer[0]) ** 2 + (y - customer[1]) ** 2)
if best is None or d < best[1]:
best = (name, d)
print(best[0], round(best[1], 2))
What does the program print?

a) East 4.0
b) West 3.61
c) North 5.0
d) West 13

Show answerHide answer

Answer: b - West 3.61

Explanation: Euclidean distance is the square root of the summed squared differences: North is 5.0, East 4.0 and West √13 ≈ 3.61, and the loop keeps the smallest distance seen.

02. A news site compares articles by how often they use the words "budget" and "tax". The query article's counts are compared with two other articles:
import math
q = [1, 2]
docs = {"P": [3, 6], "R": [2, 1]}
for name, d in docs.items():
dot = sum(x * y for x, y in zip(q, d))
size = math.sqrt(sum(x * x for x in q)) * math.sqrt(sum(x * x for x in d))
print(name, round(math.dist(q, d), 2), round(dot / size, 2))
What does the listing print?

a) P 4.47 15 then R 1.41 4
b) P 1.41 0.8 then R 4.47 1.0
c) P 4.47 1.0 then R 1.41 0.8
d) P 20 1.0 then R 2 0.8

Show answerHide answer

Answer: c - P 4.47 1.0 then R 1.41 0.8

Explanation: P has three times the query's counts, so it points the same way: cosine 1.0 despite a distance of 4.47. R is nearer at 1.41 but its word mix differs, giving 0.8. Cosine compares direction; distance compares position.

03. A transport researcher prepares text for a simple bag-of-words model:
text = "The bus was late and the train was late"
tokens = text.split()
vocab = set(tokens)
counts = {w: tokens.count(w) for w in vocab}
print(len(tokens), len(vocab), counts["late"])
What is printed?

a) 9 6 2
b) 9 7 2
c) 7 7 2
d) 9 7 1

Show answerHide answer

Answer: b - 9 7 2

Explanation: Splitting on whitespace gives 9 tokens. The set keeps distinct strings, and because "The" and "the" differ in case, it holds 7. "late" appears twice.

04. A greenhouse runs an irrigation controller. Soil-moisture and temperature sensors send readings every ten minutes; a model fitted last winter to two years of logs decides whether to open each bed's water valve, and the valve then opens or stays shut. The plants, soil and weather keep changing in response.
Which mapping of AI terms to this system is accurate?

a) Agent: the controller; environment: the beds, soil and weather; inference: the run last winter that fitted the model to the logs
b) Agent: the controller; environment: the beds, soil and weather; inference: each valve decision the fitted model makes from fresh sensor readings
c) Agent: the controller; environment: the sensors sending readings; inference: each valve decision made from fresh readings
d) Agent: the grower who installed the system; environment: the beds, soil and weather; inference: each valve decision

Show answerHide answer

Answer: b - Agent: the controller; environment: the beds, soil and weather; inference: each valve decision the fitted model makes from fresh sensor readings

Explanation: An agent perceives its environment and acts on it, which the controller does through its sensors and valves. Applying the already fitted model to new readings is inference, so every ten-minute valve decision is one.

05. A retail chain deploys a shelf-scanning model in a phone app. Staff can tap to confirm or correct each predicted product label. The store manager tells the team that the model gets smarter immediately with every tap.
Which description of what actually happens is accurate?

a) Each tap updates the model's weights at once, since running a model in an app is a form of training
b) The app runs inference with fixed parameters, and taps help only if saved as labels for later retraining
c) Taps are discarded because inference cannot accept labels, so corrections cannot affect a future model
d) The model retrains on the whole product catalog after every tap, which is what inference means

Show answerHide answer

Answer: b - The app runs inference with fixed parameters, and taps help only if saved as labels for later retraining

Explanation: Inference produces predictions without changing the model. Confirmations and corrections become valuable once they are stored as labeled examples and used in a future training run.

06. A city library has two goals. First, it wants to discover groups of borrowers with similar reading habits; no group names exist yet. Second, using five years of loan records in which each loan is marked "returned late" or "returned on time", it wants to predict whether a new loan will be returned late.
Which pairing of learning approach to goal is appropriate?

a) First goal: supervised classification using book genres as labels; second goal: unsupervised clustering of loan records
b) First goal: unsupervised clustering; second goal: supervised regression that predicts the number of days late
c) First goal: reinforcement learning rewarded by borrower visits; second goal: supervised classification
d) First goal: unsupervised clustering; second goal: supervised classification

Show answerHide answer

Answer: d - First goal: unsupervised clustering; second goal: supervised classification

Explanation: Grouping borrowers without predefined group names is clustering on unlabeled data. Predicting late versus on time from labeled past loans is supervised classification with a discrete outcome.

07. An energy supplier has three requests:
  1. Estimate next month's electricity use in kWh for each household from past use and floor area.
  2. Decide whether to offer a payment plan, using rules that call-center staff can read and explain to customers.
  3. Find groups of customers with similar daily usage patterns; no groups are defined yet.

Which matching of algorithm family to request fits best?

a) 1: linear regression model; 2: decision tree with readable rules; 3: clustering such as k-means
b) 1: clustering such as k-means; 2: linear regression model; 3: decision tree with readable if/then rules
c) 1: Naive Bayes; 2: k-nearest neighbors; 3: linear regression model
d) 1: decision tree; 2: clustering such as k-means; 3: Naive Bayes classifier

Show answerHide answer

Answer: a - 1: linear regression model; 2: decision tree with readable rules; 3: clustering such as k-means

Explanation: A linear model predicts a numeric quantity such as kWh, a decision tree yields if/then rules staff can explain for a yes/no decision, and k-means groups unlabeled customers by similarity.

08. A railway operator compares two models that flag possible cracks in track images. A missed crack can lead to a derailment; a false alarm costs one inspection walk by a technician.
  • Model X: precision 0.90, recall 0.60
  • Model Y: precision 0.55, recall 0.95

Which model fits the operator's priorities, and why?

a) Model X, because its higher precision means fewer real cracks go undetected on the line
b) Either model, since both average 0.75 across precision and recall, so the two of them perform equally well overall
c) Model Y, because higher recall means fewer missed cracks, and a missed crack costs more than an inspection
d) Model Y, because its higher precision means each alert is more likely to be a real crack

Show answerHide answer

Answer: c - Model Y, because higher recall means fewer missed cracks, and a missed crack costs more than an inspection

Explanation: Recall is the share of real cracks that get flagged, and Y catches 95% of them. Its lower precision adds inspection walks, an acceptable cost when the alternative risk is a derailment.

09. A packhouse trained an apple-grading model on 40,000 photos. Two graders labeled every photo independently and agreed on 99% of them, and a check found no duplicate images. All photos were taken on one conveyor, under one lamp, during a single harvest. At a second packhouse with different lighting, accuracy falls sharply.
Which data problem best explains the drop?

a) Low diversity, as all photos share one conveyor, lamp and season
b) Too small a dataset, since 40,000 photos cannot cover every kind of apple
c) Incorrect labels, since two graders cannot settle subjective quality grades
d) Duplicate records, since one conveyor yields many near-identical images

Show answerHide answer

Answer: a - Low diversity, as all photos share one conveyor, lamp and season

Explanation: The training images cover only one set of conditions, so the model never saw the lighting and backgrounds of the second site and fails to generalize there.

10. A guest asks a general-purpose LLM chatbot about the checkout time at a small family-run guesthouse. The chatbot replies confidently: "Checkout is at 11:00, and late checkout costs a fee of 25." The guesthouse actually has no fixed checkout time and charges no fee. The chatbot was given no information about the guesthouse.
What best explains this answer?

a) It predicted a likely continuation from training patterns, so a typical-sounding policy appeared without any record behind it.
b) It searched the web for the guesthouse and found an outdated page, so the error comes from a stale source rather than from the model.
c) It copied the answer from another guest's earlier conversation stored in its memory, so the policy belongs to a different booking.
d) Its context window was exceeded by the question, so it filled the missing space with random words that happened to read as a policy.

Show answerHide answer

Answer: a - It predicted a likely continuation from training patterns, so a typical-sounding policy appeared without any record behind it.

Explanation: An LLM predicts the next token from the context, and many hotel policies look like this one. With no source about this guesthouse, it generated a plausible but invented answer, which is a hallucination.

PCEI practice questions vs. exam dumps

Searching for PCEI dumps or braindumps? Leaked questions break Python Institute's exam rules and can cost you the certification, so practice the real topics instead: Block 4: Neural Networks, Deep Learning, and Generative AI (22.5%); Block 2: Machine Learning Fundamentals (16.5%); and Block 3: Data Handling, Analysis, and Visualization (16.5%), plus 3 more. The PCEI exam has 36 questions in 60 minutes; each question above shows its answer with an explanation.

More on this exam: PCEI syllabus and exam details.

Note: For any error in Python Institute Certified Entry-Level AI Engineer with Python (PCEI) certification exam sample questions, please update us by writing an email on feedback@edusum.com.

No votes yet