Meesho PySpark Interview Questions for Data Engineers in 2025 Preparing for a PySpark interview? Let’s tackle some commonly asked questions, along with practical answers and insights to ace your next Data Engineering interview at Meesho or any top-tier tech company. 1. Explain how caching and persistence work in PySpark. When would you use cache() versus persist() and what are their performance implications? Answer : Caching : Stores data in memory (default) for faster retrieval. Use cache() when you need to reuse a DataFrame or RDD multiple times in a session without specifying storage levels. Example: python df.cache() df.count() # Triggers caching Persistence : Allows you to specify storage levels (e.g., memory, disk, or a combination). Use persist() when memory is limited, and you want a fallback to disk storage. Example: python from pyspark import StorageLevel df.persist(StorageLevel.MEMORY_AND_DISK) df.count() # Triggers persistence Performance Implications : cache() is ...
EXL Interview Experience for Power BI Developer (3 Years of Experience)
I recently appeared for an interview at EXL for the role of Power BI Developer. The selection process consisted of three rounds:
- 2 Technical Rounds
- 1 Managerial Round
Here, I’ll share the key technical questions I encountered, along with my approach to answering them.
SQL Questions
1️⃣ Write a SQL query to find the second most recent order date for each customer from a table Orders
(OrderID
, CustomerID
, OrderDate
).
To solve this, I used the ROW_NUMBER()
window function:
2️⃣ Write a query to find the nth highest salary from a table Employees
with columns (EmployeeID
, Name
, Salary
).
The DENSE_RANK()
function helped here, along with the input for n
:
3️⃣ Explain the order of execution of SQL queries.
The logical order of execution for a SQL query is as follows:- FROM (including JOINs)
- WHERE
- GROUP BY
- HAVING
- SELECT
- ORDER BY
4️⃣ Given a table Products
(ProductID
, Name
, Price
) and a table Sales
(SaleID
, ProductID
, Quantity
), write a query to find the product with the highest revenue.
This involved calculating the total revenue per product and finding the maximum:
5️⃣ Write a query to calculate the cumulative salary of employees department-wise, who joined the company in the last 30 days.
UsingSUM()
as a window function:
Power BI Questions
1️⃣ Explain Row-Level Security (RLS) and its types.
Row-Level Security (RLS) in Power BI restricts data access based on user roles. It can be categorized into:- Static RLS: Hardcoded filters applied during data modeling.
- Dynamic RLS: Filters applied based on the logged-in user’s attributes.
2️⃣ Why choose Power BI over other BI tools?
- User-friendly interface
- Seamless integration with Microsoft tools like Excel, Teams, and SharePoint
- Advanced data visualization and DAX capabilities
- Strong community support and frequent updates
- Cost-effective compared to other BI tools like Tableau
3️⃣ What are the different components of Power BI, and why do we need them?
- Power BI Desktop: Used for creating and designing reports.
- Power BI Service: A cloud-based platform for sharing and collaboration.
- Power BI Mobile: Access reports on the go.
- Power BI Gateway: Enables data refresh from on-premises sources.
- Power BI Report Server: Used for on-premises report hosting.
4️⃣ What are the different connectivity modes in Power BI?
- Import Mode: Data is imported into Power BI for faster performance.
- DirectQuery Mode: Connects directly to the data source without importing.
- Live Connection: Similar to DirectQuery but used for multidimensional models like SSAS.
- Composite Mode: Allows a combination of Import and DirectQuery.
Final Thoughts
This interview experience not only tested my technical proficiency in SQL and Power BI, but also emphasized the importance of understanding practical applications and scalability.
Sharing these questions and approaches will hopefully help those preparing for similar roles. Best of luck to everyone on their journey to becoming a Power BI expert! 🚀
#PowerBI #SQL #InterviewExperience #DataAnalyst #BIAnalyst
Comments
Post a Comment