MLS-C01 practice question 29 of 35
[Data Engineering] A data scientist is building a forecasting model for a retail company by using the most recent 5 years of sales records that are…
Full set: 330 questions[Data Engineering]
A data scientist is building a forecasting model for a retail company by using the most recent 5 years
of sales records that are stored in a data warehouse. The dataset contains sales records for each of
the company's stores across five commercial regions The data scientist creates a working dataset
with StorelD. Region. Date, and Sales Amount as columns. The data scientist wants to analyze yearly
average sales for each region. The scientist also wants to compare how each region performed
compared to average sales across all commercial regions.
Which visualization will help the data scientist better understand the data trend?
Correct Answer:
D. Create an aggregated dataset by using the Pandas GroupBy function to get average sales for each
year for each region Create a bar plot, faceted by year, of average sales for each region Add a
horizontal line in each facet to represent average sales.
Keep practicing
Take the free MLS-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MLS-C01 practice questions
- Question 1[Modeling] A data scientist is trying to improve the accuracy of a neural network classif…
- Question 2[Modeling] A financial services company wants to automate its loan approval process by bu…
- Question 3[Modeling] An insurance company is creating an application to automate car insurance clai…
- Question 4[Modeling] An ecommerce company has used Amazon SageMaker to deploy a factorization machi…
- Question 5[Machine Learning Implementation and Operations] A company operates an amusement park. Th…
- Question 6[Data Engineering] A technology startup is using complex deep neural networks and GPU com…
