Publicis Sapient | L2 Plateform
- Posted
- 16 Jun 2025
Summary
I applied for an L2 Plateform role through a referral and underwent a two-hour technical interview. The round covered a broad range of topics including core Java, data structures, concurrency, distributed systems, databases, Spring Boot, API design, and security, along with a coding challenge and a design pattern identification question.
How it went
I've applied through referral in June 2025. Total rounds : 2 Technical and 1 Managarial
Technical Round 1: 2 hrs
- As a non-functional requirement, how would you secure the personal data of your user within your database?
- End-to-end testing approach
- abstract class and interface?
- Immutable class and deep copy and What are the trade-offs of immutability?
- serialization and serialVersionUID
- HashMap internal working
- equal & hash code contract
- What is the difference between fail fast and fail safe
- TREEMAP internal working?
- Coding: find the common elements (intersection) between two lists in Java
- What’s wrong with this code: A code where you’ve to find correct design pattern
- ThreadPool and types
- Callable vs Future
- Synchronised v/s ReentrantLock
- Pub-sub model?
- Kafka vs RabitMQ
- For distributed system which one is best - Kafka , SQS and RabitMQ
- Distributed systems: delivery guarantees types?
- Correlation ID
- Error handling in Kafka
- Full outer join
- JPA : n+1 problem
- How to improve performance for aggregate queries
- Types of indexes
- JVM: Memory management
- JVM parameters like XMS and XMS
- Garbage collector algorithms
- Profiling tools
- Try with resources.
- OpenAPI specification
- API Versioning
- Error handling,
- 401 vs 403 error
- Spring boot features
- Spring Reactive
- Synchronous and Asynchronous interaction
- Working of Circuit Breaker?
- Local transaction in microservices
- Saga pattern
- Server-side caching
- Caching strategies
- GraphQL
- Securing API
- Access token and the refresh token
- Spring security
- API Gateway, how to do it from the scratch
2nd round will be an onsite round
Questions asked (46)
- 01
Database Personal Data Security
System Design
As a non-functional requirement, how would you secure the personal data of your user within your database?
- 02
End-to-End Testing Approach
Other
Describe your approach to end-to-end testing.
- 03
Abstract Class vs. Interface
Other
Explain the differences between an abstract class and an interface.
- 04
Immutable Class, Deep Copy, and Trade-offs of Immutability
Other
Discuss immutable classes, deep copy, and the trade-offs associated with immutability.
- 05
Serialization and serialVersionUID
Other
Explain serialization and the purpose of serialVersionUID.
- 06
HashMap Internal Working
Data Structures & Algorithms
Explain the internal working mechanism of a HashMap.
- 07
equals() and hashCode() Contract
Other
Describe the contract between the equals() and hashCode() methods in Java.
- 08
Fail-Fast vs. Fail-Safe Iterators
Other
What is the difference between fail-fast and fail-safe iterators?
- 09
TreeMap Internal Working
Data Structures & Algorithms
Explain the internal working mechanism of a TreeMap.
- 10
Find Common Elements in Two Lists (Java)
Data Structures & Algorithms
Write code to find the common elements (intersection) between two lists in Java.
- 11
Identify Design Pattern in Code
Other
Given a piece of code, identify what's wrong with it and suggest the correct design pattern.
- 12
ThreadPool and Types
Other
Explain ThreadPools and their different types.
- 13
Callable vs. Future
Other
Discuss the differences between Callable and Future in Java concurrency.
- 14
Synchronized vs. ReentrantLock
Other
Compare and contrast the
synchronizedkeyword withReentrantLock. - 15
Pub-Sub Model
System Design
Explain the Publish-Subscribe (Pub-Sub) model.
- 16
Kafka vs. RabbitMQ
System Design
Compare Kafka and RabbitMQ.
- 17
Best Distributed System Messaging: Kafka, SQS, RabbitMQ
System Design
For a distributed system, which messaging queue is best among Kafka, SQS, and RabbitMQ?
- 18
Distributed Systems: Delivery Guarantees
System Design
What are the different types of delivery guarantees in distributed systems?
- 19
Correlation ID
System Design
Explain what a Correlation ID is and its use in distributed systems.
- 20
Error Handling in Kafka
System Design
Describe strategies for error handling in Kafka.
- 21
Full Outer Join
Other
Explain what a full outer join is in SQL.
- 22
JPA N+1 Problem
Other
Explain the N+1 problem in JPA and how to mitigate it.
- 23
Improve Aggregate Query Performance
Other
How would you improve the performance of aggregate queries in a database?
- 24
Types of Indexes
Other
Describe different types of database indexes.
- 25
JVM Memory Management
Other
Explain JVM memory management.
- 26
JVM Parameters (XMS, XMX)
Other
Explain JVM parameters like XMS and XMX.
- 27
Garbage Collector Algorithms
Other
Describe different garbage collector algorithms in the JVM.
- 28
Profiling Tools
Other
What profiling tools are you familiar with and how do you use them?
- 29
Try-with-resources
Other
Explain the 'try-with-resources' statement in Java.
- 30
OpenAPI Specification
System Design
What is the OpenAPI specification and how is it used?
- 31
API Versioning
System Design
Discuss different strategies for API versioning.
- 32
API Error Handling
System Design
Discuss general strategies for API error handling.
- 33
401 vs. 403 Error
System Design
Explain the difference between 401 Unauthorized and 403 Forbidden HTTP status codes.
- 34
Spring Boot Features
Other
Describe key features of Spring Boot.
- 35
Spring Reactive
Other
Explain Spring Reactive and its principles.
- 36
Synchronous and Asynchronous Interaction
System Design
Explain synchronous and asynchronous interaction in distributed systems.
- 37
Working of Circuit Breaker
System Design
Explain how a Circuit Breaker pattern works.
- 38
Local Transaction in Microservices
System Design
How are local transactions handled in a microservices architecture?
- 39
Saga Pattern
System Design
Explain the Saga pattern for distributed transactions.
- 40
Server-Side Caching
System Design
Discuss server-side caching mechanisms.
- 41
Caching Strategies
System Design
Describe different caching strategies.
- 42
GraphQL
System Design
Explain what GraphQL is and its advantages.
- 43
Securing API
System Design
Discuss general principles and methods for securing an API.
- 44
Access Token and Refresh Token
System Design
Explain the concepts of access tokens and refresh tokens in authentication.
- 45
Spring Security
Other
Discuss the features and working of Spring Security.
- 46
API Gateway Implementation from Scratch
System Design
How would you implement an API Gateway from scratch?