Browse all practice questions for the DDR Data Science Interview Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

DDR Data Science Interview Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • How does MongoDB differ from a relational database?
  • What constraint enforces a relationship between two tables?
  • In which location is a subquery NOT listed as a valid location?
  • What is a primary advantage of MongoDB over a relational database?
  • When would you typically use a Python lambda function?
  • What is the difference between forecasting and predicting in statistical terms?
  • What are scalar functions?
  • What is a View in SQL?
  • What is a stored procedure?
  • In MongoDB terminology, which concept maps to a SQL table?
  • What is the difference between variance and bias in a machine learning model, and how do regularization techniques affect them?
  • Which scenario would most likely benefit from using a stored procedure?
  • What are the wildcard characters used with the LIKE operator?
  • Describe regularization paths for L1 vs L2 penalties and their impact on feature selection.
  • Which expression computes a 7-day running total of daily revenue in SQL using window functions?
  • What does collation define?
  • Which join returns all rows from the left table and matching rows from the right table?
  • In SQL, what structure enforces the relationship integrity between a parent and its children in a one-to-many relationship?
  • Explain the difference between RMSE and MAE as error metrics.
  • Which constraint uniquely identifies a row and cannot be NULL?
  • Given a linear regression with multicollinearity (VIF > 5) among predictors, what issues arise and how might you address them?
  • In a query using GROUP BY, how does HAVING operate?
  • Why are cursors generally discouraged?
  • What can happen to an index over time if it is not maintained?
  • MongoDB stores data in which format?
  • Which of the following is NOT a type of subquery?
  • What is a Self-Join?
  • To model a one-to-many relationship in SQL, which option uses a foreign key and a join to retrieve data?
  • Which SQL clause can fetch only distinct records from a table?
  • Which statement about relationships between tables is true?
  • MongoDB is best described as which kind of database?
  • In pandas, which approach fills numeric columns with their median and categorical columns with their mode in a single pass?
  • Which of the following is a requirement of First Normal Form (1NF)?
  • Which of the following is an example of a scalar function?
  • Which scalar function returns the current date and time?
  • What is the difference between a list and a tuple in Python?
  • What is a DBMS?
  • Which method is commonly used to estimate how well a model generalizes to unseen data?
  • Which approach can fetch alternate rows from a table?
  • How do batch processing and stream processing differ, with representative use cases?
  • How would you determine the required sample size for an A/B test with a binary outcome, given baseline conversion rate, detectable uplift, significance level, and power?
  • What is an RDBMS?
  • Which three components comprise RFM features commonly used in customer analytics?
  • Which statement about a unique key is true?
  • What is a Cross-Join?
  • How should MNAR missingness be handled?
  • Describe how you would detect data leakage and provide an example in a churn prediction pipeline.
  • Which statement best describes the Bonferroni correction versus the Benjamini-Hochberg procedure, and when would you use each?
  • What are aggregate functions?
  • What is a cursor?
  • Explain the Poisson distribution and a typical scenario where it models counts.
  • Why does collation matter?
  • What is the purpose of regularization in logistic regression, and how does it affect coefficients?
  • Which join type returns all rows from both tables, including unmatched rows?
  • Which subquery type provides a temporary table-like result to be used in the FROM clause?
  • Why are hash tables efficient for lookups?
  • Explain the bias-variance decomposition for mean squared error in a regression problem.
  • Which NoSQL approach is commonly used to scale across many machines?
  • Which statement correctly describes batch, stochastic, and mini-batch gradient descent and when you would use mini-batch?
  • What is the primary reason indexes speed up queries?
  • Which statement is true about stored procedures and security?
  • If a p-value is 0.04 and alpha is 0.05, what decision should you make?
  • What is a database?
  • For MAR missingness, which imputation approach is commonly recommended?
  • Which statement is true about NoSQL data models?
  • Which of the following is true about using GROUP BY to fetch distinct records?
  • What does the USING clause do in a JOIN?
  • What is the Central Limit Theorem and why is it important in data science practice?
  • What SQL operation retrieves combined data from related tables?
  • In MongoDB, embedding is storing related data as a nested document. Which option describes embedding?
  • Briefly explain TF-IDF and why it is useful in text classification.
  • In the Cox proportional hazards model, what does the hazard ratio represent?
  • What is a Python lambda function?
  • Which of the following is an example of a non-parametric method in survival analysis?
  • What is the difference between WHERE and HAVING in SQL?
  • What are best practices for ensuring reproducibility and versioning in a data science project?
  • What is a lift chart and how is it used in evaluating model performance for marketing campaigns?
  • In SQL window functions, which frame specification yields a 7-day running total when ordering by date?
  • Which is an advantage of stored procedures?
  • Which of the following is NOT a scalar function?
  • Which function converts a string to upper case?
  • What does a plateau in a learning curve suggest about data sufficiency and model capacity?
  • What is Auto Increment?
  • Which SQL construct would correctly include categories with zero revenue when calculating total revenue by product category for the last calendar quarter in PostgreSQL?
  • Which scenario best favors choosing a NoSQL database over a relational database?
  • Which statement best describes the relationship between a 95% confidence interval and a 5% significance level in hypothesis testing?
  • Which constraint ensures a column cannot be NULL?
  • In a confusion matrix, how do you compute sensitivity and specificity, and what do they indicate?
  • Define the concept of overfitting and how to detect it in practice.
  • Which statement best describes a scalar subquery?
  • Which condition defines Second Normal Form (2NF)?
  • What is feature importance in tree-based models, and how can SHAP values improve interpretability?
  • What is a foreign key?
  • What are ARIMA(p,d,q) components and how would you choose p, d, q?
  • Which of the following are examples of aggregate functions?
  • What does 'document-oriented' refer to in MongoDB?
  • Which is an example of referencing in MongoDB for a one-to-many relationship?
  • If you perform a test with p-value 0.051 and alpha 0.05, what is the correct conclusion?
  • What is the difference between a shallow copy and a deep copy in Python?
  • Difference between SQL and MySQL?
  • In the bias-variance decomposition, what does the irreducible error represent?
  • In MongoDB, one-to-many modeling, which option corresponds to embedding the child documents in the parent?
  • How does a UDF differ from a stored procedure?
  • In SQL, which join returns all rows from both tables, with NULLs where there is no match?
  • Which pandas expression selects numeric columns from a DataFrame?
  • Which of the following is a primary reason to use mini-batch gradient descent instead of full batch gradient descent?
  • ROW_NUMBER() is typically used for which purpose in SQL queries?
  • In k-fold cross-validation for classification, how many models are trained and evaluated, and why is stratification important?
  • What is a unique key?
  • How would you model a one-to-many relationship in SQL?
  • Which statement BEST describes the bias-variance trade-off in model selection?
  • Which statement best captures the modeling of one-to-many relationships in SQL versus MongoDB?
  • In survival analysis, what is the hazard function and what does the Cox proportional hazards model assume?
  • What is an effective approach to avoid overplotting in a dense scatter plot?
  • What is the purpose of a learning curve and how would you interpret it?
  • Define Type I and Type II errors with examples in A/B testing.
  • What is SQL?
  • In five independent Bernoulli trials with success probability p = 0.3, what is the probability of at least one success?
  • What is the purpose of preprocessing steps like scaling, normalization, and one-hot encoding in ML pipelines?
  • What is the difference between parametric and non-parametric models? Provide examples.
  • Define concept drift and describe a practical strategy to detect and respond to it in production models.
  • Describe the Difference-in-Differences (DiD) approach and its identifying assumption.
  • Which is an example of embedding in MongoDB for a one-to-many relationship?
  • What does TCL manage?
  • Which statement correctly contrasts embedding and referencing in MongoDB?
  • In MongoDB terminology, which element maps to a SQL database?
  • What are the advantages of using views?
  • What is the purpose of SQL constraints?
  • In PostgreSQL, what does date_trunc('quarter', current_date) return?
  • What is the time complexity for quicksort, mergesort, and a hash-based lookup in Big-O terms?
  • What is the difference between a parametric model and a flexible non-parametric model in terms of assumptions and capacity?
  • What are the limitations of views?
  • How would you handle missing data if the missingness is completely at random (MCAR) vs. not at random (MNAR)?
  • Batch processing mode processes data how?
  • Which type of dependency is eliminated by Third Normal Form?
  • Besides removing correlated features, which methods can address multicollinearity in regression?
  • Which function extracts the first N characters from a string in SQL Server or MySQL?
  • Which metric is more informative for imbalanced datasets: PR-AUC or ROC-AUC?
  • What is the difference between ETL and ELT, and in which scenarios would you prefer each?
  • What is the difference between BETWEEN and IN in SQL?
  • Which data structure is commonly used to implement database indexes, and what does it store?
  • Which of the following is a characteristic of non-parametric models?
  • What is the purpose of cross-validation, and how would you implement 5-fold CV for regression?
  • Which statement about aggregate functions and GROUP BY is true?
  • In MongoDB, which statement best contrasts embedding and referencing?
  • In MongoDB, embedding stores related data as a nested document. Which of the following options best describes embedding?
  • What are the four basic types of SQL joins and their behavior?
  • What is a subquery?
  • In an imbalanced dataset with 2% positives, which evaluation metric is most informative for assessing performance on the minority class?
  • What best describes the effect of high variance on model performance as more data becomes available?
  • In concept drift management, what is a rolling window approach and what is its purpose?
  • One-hot encoding is used in ML pipelines primarily to handle which type of features?
  • Which SQL sublanguage defines schema?
  • Which operator is used for pattern matching?
  • Data leakage in model evaluation occurs when training data contains information from the test data; which of the following is an example?
  • Which missingness mechanism describes MCAR and guides simple imputation strategies?
  • Which statement best describes the difference between UNION and UNION ALL?
  • Which operation triggers maintenance of an index?
  • Name at least three common pitfalls in data visualizations and how to avoid them.
  • How do DELETE and TRUNCATE differ in behavior?
  • How would you approach feature engineering for a customer churn prediction problem?
  • What is a p-value and what does a small p-value in hypothesis testing indicate?
  • Main sublanguages of SQL?
  • Which diagnostic plots are commonly used to choose ARIMA p and q values?
  • What is the AUC-ROC curve and what does it measure? Why might PR-AUC be preferred in imbalanced problems?
  • In time-series data, what is stationarity, and which tests would you perform to assess it?
  • Explain the concept of regularization strength and its effect on bias-variance tradeoff.
  • What happens when a view is accessed?
  • What is normalization in relational databases?
  • Table, record, field definitions?
  • In Oracle, which function extracts the first N characters from a string?
  • Which of the following are common trade-offs of using indexes?
  • Which statement about UDFs' ability to modify data is true?
  • Relational database design principle?
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy