Senior Data Analyst

200+ Senior Data Analyst Interview Questions and Answers

Updated 12 Jul 2025
search-icon

Asked in Wells Fargo

1w ago

Q. What are triggers and how to create them and what is the use of triggers and explain when and how did you use triggers in your previous org

Ans.

Triggers are database objects that automatically perform an action when a specified event occurs on a particular table or view.

  • Triggers are used to enforce business rules, validate data, and maintain data integrity.

  • They can be created using SQL commands like CREATE TRIGGER.

  • Triggers can be set to execute before or after INSERT, UPDATE, or DELETE operations on a table.

  • An example of using triggers is to automatically update a 'last_modified' timestamp column whenever a row is up...read more

Asked in iCIMS

1w ago

Q. What are the different types of LOD functions? Give examples of situations where you used them.

Ans.

Different types of LOD functions include INCLUDE, EXCLUDE, and FIXED.

  • INCLUDE LOD function is used to compute the level of detail for a specific dimension while keeping all other dimensions constant.

  • EXCLUDE LOD function is used to compute the level of detail for all dimensions except the specified dimension.

  • FIXED LOD function is used to compute the level of detail independently of the visualization's dimensions.

  • Examples of situations where LOD functions are used include calcul...read more

Asked in BeeHyv

2d ago

Q. How would you retrieve the current month's and previous month's sales data in the same row?

Ans.

Retrieve current and previous month sales in a single row using SQL or data manipulation techniques.

  • Use SQL with a CASE statement to differentiate between current and previous month sales.

  • Example SQL: SELECT SUM(sales) AS current_month_sales, SUM(CASE WHEN MONTH(date) = MONTH(CURRENT_DATE - INTERVAL 1 MONTH) THEN sales END) AS previous_month_sales FROM sales_table WHERE YEAR(date) = YEAR(CURRENT_DATE);

  • Alternatively, use data manipulation libraries like pandas in Python to gro...read more

Asked in Innovaccer

3d ago

Q. What is the SQL query used to remove duplicates from a dataset?

Ans.

Use the DISTINCT keyword in a SELECT query to remove duplicates from a dataset.

  • Use the SELECT DISTINCT statement to retrieve unique rows from a table

  • Example: SELECT DISTINCT column1, column2 FROM table_name;

  • Another way is to use the GROUP BY clause with aggregate functions like COUNT() or SUM() to remove duplicates

Are these interview questions helpful?
1d ago

Q. A client claims that sensitive files were accessed outside of allowed regions. How would you investigate and visualize this claim?

Ans.

Investigate sensitive file access claims by analyzing logs and visualizing access patterns geographically.

  • 1. Gather access logs: Collect logs from file servers, including timestamps, user IDs, and IP addresses.

  • 2. Identify allowed regions: Define the geographical boundaries where access is permitted based on client policies.

  • 3. Geolocate IP addresses: Use a geolocation service to map IP addresses to their respective regions.

  • 4. Analyze access patterns: Compare the geolocated acc...read more

1d ago

Q. How would you design a dashboard that highlights potential storage cost savings for enterprise clients using cloud storage metadata?

Ans.

Design a dashboard to visualize cloud storage cost savings for enterprise clients using metadata insights.

  • Identify key metrics: Focus on storage usage, cost per GB, and data access frequency.

  • Use visualizations: Implement bar charts for cost comparisons and line graphs for usage trends.

  • Incorporate filters: Allow users to filter by department, project, or time period to identify specific savings opportunities.

  • Highlight anomalies: Use alerts for sudden spikes in storage costs or...read more

Senior Data Analyst Jobs

Optum logo
Senior Data Analyst 7-10 years
Optum
4.0
₹ 11 L/yr - ₹ 21 L/yr
(AmbitionBox estimate)
Delhi/Ncr
Cognizant logo
Hiring For Senior Data Analyst 8-10 years
Cognizant
3.7
Hyderabad / Secunderabad
Oracle India Pvt. Ltd. logo
Senior Data Analyst 2-7 years
Oracle India Pvt. Ltd.
3.7
₹ 4 L/yr - ₹ 13 L/yr
(AmbitionBox estimate)
Kolkata
1w ago

Q. In your last project, how did you handle and manipulate data?

Ans.

In my last project, I handled and manipulated data by cleaning and transforming raw data into usable formats for analysis.

  • Performed data cleaning to remove duplicates, errors, and inconsistencies

  • Transformed data using tools like SQL, Python, and Excel

  • Used data visualization techniques to identify patterns and trends

  • Applied statistical analysis to draw insights and make data-driven decisions

Asked in Dell

4d ago

Q. What are the ways you can use to filter columns using list comprehension?

Ans.

Filter columns using list comprehension by specifying conditions in a concise and readable way.

  • Specify the condition within square brackets after the column name

  • Use the 'if' statement to filter the columns based on the specified condition

  • Example: [column for column in columns if column != 'unnecessary']

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in TCS

2d ago

Q. What is the difference between a WHERE clause and an IF condition in SAS?

Ans.

Where clause filters data in SAS while if condition filters data in a program.

  • Where clause is used in SAS to filter data based on certain conditions.

  • If condition is used in a program to filter data based on certain conditions.

  • Where clause is used in conjunction with data steps and procedures in SAS.

  • If condition is used in programming languages like SAS, Python, etc.

  • Where clause is used to subset data based on certain criteria.

  • If condition is used to execute certain code based...read more

Asked in Decathlon

3d ago

Q. Given two SQL tables, write a query to answer question N.

Ans.

SQL query to join two tables and extract relevant data based on specified conditions.

  • Use JOIN clause to combine rows from both tables based on a related column.

  • Example: SELECT * FROM table1 JOIN table2 ON table1.id = table2.foreign_id;

  • Consider using INNER JOIN for matching records only, or LEFT JOIN for all records from the left table.

  • Use WHERE clause to filter results based on specific criteria.

  • Example: SELECT * FROM table1 JOIN table2 ON table1.id = table2.foreign_id WHERE ...read more

4d ago

Q. What is the method for calculating the previous month's sales using DAX?

Ans.

DAX uses time intelligence functions to calculate previous month's sales effectively.

  • Use the 'PREVIOUSMONTH' function to reference the previous month.

  • Example: 'Sales Last Month = CALCULATE(SUM(Sales[Amount]), PREVIOUSMONTH(Sales[Date]))'.

  • Ensure your date column is in a proper date format for accurate calculations.

  • Combine with 'FILTER' for more complex scenarios, like specific product sales.

1w ago

Q. What is the method to calculate the Year-To-Date (YTD) measure using DAX?

Ans.

YTD in DAX calculates cumulative totals from the beginning of the year to the current date.

  • Use the DAX function TOTALYTD to calculate YTD values.

  • Syntax: TOTALYTD(<expression>, <dates>, [<filter>], [<year_end_date>])

  • Example: YTD Sales = TOTALYTD(SUM(Sales[Amount]), Dates[Date])

  • Ensure your date table is marked as a date table in the model.

  • You can apply additional filters to the YTD calculation.

Asked in Innovaccer

2w ago

Q. What is the SQL query to find the third highest salary in a table?

Ans.

Use a subquery to find the third highest salary in a table using SQL.

  • Use the ORDER BY clause to sort the salaries in descending order.

  • Use the LIMIT clause to limit the results to the third row.

  • Use a subquery to select the third highest salary from the sorted list.

Q. Tell me about a time when you had to deal with a complex data set.

Ans.

I had to deal with a complex data set when analyzing customer behavior for a retail company.

  • I was tasked with analyzing a large dataset containing customer purchase history, demographics, and website interactions.

  • I used advanced statistical techniques and machine learning algorithms to identify patterns and trends in the data.

  • I created visualizations and reports to present my findings to the marketing team, helping them make data-driven decisions.

  • One example of a complex data...read more

Q. What are some common data visualization tools that you have used?

Ans.

Some common data visualization tools include Tableau, Power BI, and Google Data Studio.

  • Tableau

  • Power BI

  • Google Data Studio

Asked in Indus Towers

1w ago

Q. What are the types of Joins in SQL and explain them with examples?

Ans.

Types of Joins in SQL include Inner Join, Left Join, Right Join, and Full Outer Join.

  • Inner Join: Returns rows when there is a match in both tables.

  • Left Join: Returns all rows from the left table and the matched rows from the right table.

  • Right Join: Returns all rows from the right table and the matched rows from the left table.

  • Full Outer Join: Returns rows when there is a match in either table.

Asked in IQVIA

2w ago

Q. What is the PROC FREQUENCY function in SAS, and can you provide an example of its use?

Ans.

PROC FREQUENCY in SAS generates frequency tables for categorical data, summarizing counts and percentages.

  • Used to analyze the distribution of categorical variables.

  • Syntax: PROC FREQUENCY DATA=dataset; TABLES variable; RUN;

  • Example: PROC FREQUENCY DATA=sashelp.cars; TABLES Make; RUN; generates frequency counts of car makes.

  • Can include options like NOPRINT to suppress output or OUT= to create a dataset of frequencies.

2w ago

Q. What are overfitting and underfitting?

Ans.

Overfitting and underfitting are two common problems in machine learning models.

  • Overfitting occurs when a model is too complex and fits the training data too closely, resulting in poor performance on new data.

  • Underfitting occurs when a model is too simple and cannot capture the underlying patterns in the data, resulting in poor performance on both training and new data.

  • Overfitting can be prevented by using regularization techniques, reducing the complexity of the model, or in...read more

Asked in Walmart

2d ago

Q. Explain a project where you used data analytics to solve a business problem.

Ans.

Implemented predictive analytics model to optimize inventory management for a retail company

  • Identified key factors affecting inventory levels such as seasonality, promotions, and supplier lead times

  • Utilized historical sales data to forecast demand and optimize inventory levels

  • Developed a predictive analytics model using machine learning algorithms to predict future sales and recommend optimal inventory levels

  • Implemented the model into the company's inventory management system...read more

5d ago

Q. What do you understand from these visualizations?

Ans.

Understanding various types of charts and their significance in data visualization.

  • Different types of charts convey different types of information (e.g. bar charts for comparisons, line charts for trends)

  • Charts can help identify patterns, outliers, and relationships in data

  • Understanding the axes, labels, and legends in a chart is crucial for interpretation

Asked in INDIUM

3d ago

Q. Write SQL code to generate a tournament schedule for 4 countries, where each country plays exactly one match against another country.

Ans.

SQL code to generate tournament schedule for 4 countries each having 1 match with an opponent

  • Create a table with country names and match opponents

  • Use a SELECT statement to display the tournament schedule for each country

Asked in Elsevier

6d ago

Q. What is the typical time required to create Policy and Workflow diagrams?

Ans.

Creating Policy and Workflow diagrams typically takes several hours to days, depending on complexity and stakeholder input.

  • Complexity of the Process: More complex workflows may require extensive analysis and iterations, potentially taking several days.

  • Stakeholder Involvement: Engaging with stakeholders for feedback can extend the timeline, as their input is crucial for accuracy.

  • Tools Used: The choice of diagramming tools (e.g., Visio, Lucidchart) can affect efficiency; some t...read more

2w ago

Q. What are the detailed processes involved in data cleaning, data mining, and data visualization?

Ans.

Data cleaning, mining, and visualization are essential processes for ensuring data quality, extracting insights, and presenting findings effectively.

  • Data Cleaning: Involves removing duplicates, correcting errors, and handling missing values. Example: Replacing null values with the mean.

  • Data Mining: The process of discovering patterns and knowledge from large amounts of data. Example: Using clustering algorithms to segment customers.

  • Data Visualization: The graphical representa...read more

1w ago

Q. What are the key aspects of in-depth statistical analysis and time series analysis?

Ans.

In-depth statistical analysis and time series analysis involve data interpretation, trend identification, and forecasting for informed decision-making.

  • Statistical analysis includes descriptive statistics (mean, median, mode) to summarize data.

  • Inferential statistics helps in making predictions or inferences about a population based on a sample.

  • Time series analysis focuses on data points collected or recorded at specific time intervals, useful for trend analysis.

  • Examples of tim...read more

Asked in Indegene

1w ago

Q. What are subqueries and how do they work?

Ans.

Subqueries are nested queries that provide results to outer queries, enhancing data retrieval in SQL.

  • Subqueries can be used in SELECT statements to filter results. Example: SELECT * FROM employees WHERE salary > (SELECT AVG(salary) FROM employees).

  • They can also be used in WHERE clauses to compare values. Example: SELECT name FROM departments WHERE id IN (SELECT department_id FROM employees).

  • Subqueries can return single values, multiple values, or even tables, depending on the...read more

Asked in Ganit Inc

3d ago

Q. Explain the data cleaning steps involved in the Generative AI project mentioned in your resume.

Ans.

Data cleaning in Generative AI ensures high-quality input for model training and accurate outputs.

  • 1. Remove duplicates: Identify and eliminate duplicate records to ensure unique data points.

  • 2. Handle missing values: Use techniques like imputation or removal to address gaps in the dataset.

  • 3. Standardize formats: Ensure consistency in data formats, such as date formats (e.g., YYYY-MM-DD).

  • 4. Correct errors: Identify and rectify inaccuracies, such as typos in categorical variable...read more

Asked in Anblicks

2w ago

Q. How do you approach building a data pipeline for real-time analytics?

Ans.

Building a real-time data pipeline involves data ingestion, processing, storage, and visualization for timely insights.

  • Identify data sources: Use APIs, streaming data, or databases (e.g., Kafka for streaming data).

  • Data ingestion: Implement tools like Apache Kafka or AWS Kinesis for real-time data collection.

  • Data processing: Use stream processing frameworks like Apache Flink or Spark Streaming to transform data on-the-fly.

  • Data storage: Choose a suitable storage solution (e.g.,...read more

6d ago

Q. How can we create a dependent slicer in Power BI?

Ans.

Dependent slicer in Power BI allows filtering of data based on selection in another slicer.

  • Create two slicers, one for the main category and another for the sub-category.

  • Add the main category slicer to the report page and select the sub-category slicer.

  • Go to the Format pane and select the 'Edit interactions' option.

  • Choose the 'Filter' option for the sub-category slicer.

  • Now, when a main category is selected, the sub-category slicer will only show options related to that catego...read more

2d ago

Q. Where is Power Pivot available in Power BI?

Ans.

Power Pivot is available in Power BI Desktop and Power BI Service.

  • Power Pivot is a data modeling tool in Excel that allows you to create relationships between tables and perform complex calculations.

  • In Power BI Desktop, you can access Power Pivot by going to the 'Data' tab and selecting 'Manage Relationships'.

  • In Power BI Service, you can access Power Pivot by going to the 'Settings' menu and selecting 'Data Sources'.

  • Power Pivot is used to create more complex data models and c...read more

5d ago

Q. Describe a case where you analyzed a trend and determined the reasons for its specific pattern. Explain your reasoning.

Ans.

Trends often follow patterns due to underlying factors like seasonality, economic conditions, and consumer behavior.

  • Seasonality: Retail sales often spike during holidays, e.g., Christmas shopping.

  • Economic Conditions: Stock market trends can follow economic indicators like unemployment rates.

  • Consumer Behavior: Trends in social media usage can reflect changes in technology adoption.

  • Cyclical Patterns: Housing market trends may follow economic cycles, with booms and busts.

  • Technol...read more

Previous
1
2
3
4
5
6
7
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Senior Data Analyst Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits