Oracle OCI - SMTS screening

Anonymous User
694
Nov 10, 2025
Nov 10, 2025

Design: simple chat app

  1. first start it with just 2 users
  2. what server, websocket or any other server
  3. EC2, what's the usage
  4. How would you establish the connection to the server if there are multiple users.
  5. Authentication
  6. Where DNS is located? within the server?

Network:

  1. TCP ? when to use TCP/UDP
  2. what happens when you something on google
  3. First the request will go to DNS or server?

DSA:
https://leetcode.com/discuss/post/5904685/salesforce-oa-6-oct-by-anonymous_user-hipt/

LLD - Singleton:

  1. Write a singleton class which works in a multithreaded env
  2. Will synchrhonized keyword fix the problem?
  3. Synchronized is mutex or semaphore?

Multithreading:
Create 2 threads, 1st will print odd numbers and 2nd will print even numbers.
you should not have a global counter
once the first thread is called 1 should be printed
until the 2nd thread is called it should wait
2nd thread is called and it should print 2
then if 1st thread should print 3 and so
How will you synchronize it?

Distributed systems:
CAP theorem
Fault tolerence
DB replica - will be in same node or different

2 hours of interview - just waste of time.

Comments (2)