Wednesday, November 5, 2025

SQL- ssis - powerBI Interview questions

 


About Ranks

CTE's


1. What is the difference between INNER JOIN, LEFT JOIN, and FULL OUTER JOIN?

  • INNER JOIN: Returns rows with matching values in both tables.
  • LEFT JOIN: Returns all rows from the left table, and matched rows from the right table.
  • FULL OUTER JOIN: Returns all rows when there is a match in one of the tables.

2. How do you optimize a slow-running query?

Answer:

  • Analyze execution plan.
  • Add appropriate indexes.
  • Avoid SELECT *.
  • Use WHERE filters early.
  • Avoid correlated subqueries.
  • Use JOIN instead of subqueries when possible.
  • Partition large tables.

3. What is a CTE and when would you use it?

Answer: A Common Table Expression (CTE) is a temporary result set used for:

  • Recursive queries
  • Improving readability
  • Breaking complex queries into manageable parts
WITH SalesCTE AS (
  SELECT SalesPersonID, SUM(SalesAmount) AS TotalSales
   FROM Sales
  GROUP BY SalesPersonID
)

4. What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER()?

  • RANK(): Skips ranks if there are ties.
  • DENSE_RANK(): No gaps in ranking.
  • ROW_NUMBER(): Assigns a unique number to each row.

5. How do you handle deadlocks in SQL Server?

Answer:

  • Identify using SQL Profiler or Extended Events.
  • Minimize locking time.
  • Access tables in the same order.
  • Use SET LOCK_TIMEOUT.
  • Optimize transactions to be short and efficient.

6. What is the difference between TRUNCATE and DELETE?

  • DELETE: Logs each row, can have WHERE clause, triggers fire.
  • TRUNCATE: Faster, minimal logging, cannot use WHERE, no triggers.

What is an execution plan and how do you read it?

Answer: An execution plan shows how SQL Server processes a query. Look for:

  • Table scans vs. index seeks
  • Cost percentages
  • Join types
  • Missing indexes

Accenture – .NET Full Stack Developer Interview Q&A

 Accenture – .NET Full Stack Developer Interview Experience 🚀


Recently, I appeared for the Accenture Application Developer (.NET Full Stack) technical interview and wanted to share some valuable insights from the discussion. These areas highlight what top-tier organizations often focus on when assessing full-stack .NET professionals.

Here’s a concise summary of the topics covered 👇

⚙️ Technical Areas Discussed
1. Self-introduction and project walkthrough
2. Core OOP concepts with real-time examples
3. Dependency Injection and its real-world use cases
4. Method Overloading vs. Method Overriding
5. Abstraction vs. Interface — when and why to use each
6. Middleware in ASP.NET Core and its configuration pipeline
7. REST API verbs (GET, POST, PUT, DELETE)
8. Difference between PUT and POST with examples
9. Liskov Substitution Principle (SOLID)
10. Common Design Patterns — Singleton, Factory, Repository
11. Service Lifetimes — Transient, Scoped, Singleton
12. SQL: Stored Procedures and Functions
13. SQL query to delete specific rows
14. SQL query to remove duplicates
15. Azure App Services & Azure Functions — deployment, scaling, and management
16. Angular core concepts
17. jQuery fundamentals

💡 Key Takeaway:
The emphasis was on clarity, practical application, and real project experience rather than textbook definitions.
Interviewers particularly value candidates who can connect concepts with real-world implementation, especially in areas like Dependency Injection, Middleware, SOLID Principles, and Azure Services.

🎯 Tip for Aspiring Developers:
Before your next interview, focus on revising your fundamentals, understanding end-to-end architectural flow, and aligning your answers with your hands-on project experience.