Oracle OCI - SMTS screening

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-11-10Added By Anonymous
Source: Link

Company: Oracle
Role: SMTS (Senior Member of Technical Staff)
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

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 is DNS located? Within the server?

Network:

1.TCP? When to use TCP/UDP?
2.What happens when you search something on Google?
3.First, will the request go to DNS or the 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 the "synchronized" keyword fix the problem?
3.Is "synchronized" mutex or semaphore?

Multithreading:
Create 2 threads: the 1st will print odd numbers, and the 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 the 1st thread should print 3, and so on.
How will you synchronize it?

Distributed systems:

  • CAP theorem
  • Fault tolerance
  • DB replica - will it be in the same node or different?

2 hours of interview - just waste of time.

Comments