Sumo Logic
Sanofi Interview Questions and Answers
Q1. in range of [1-40] kgs, select minimum number of weight to cover the complete range of weights.
To cover the range of weights from 1-40 kgs, select weights in powers of 2.
Select weights in powers of 2: 1, 2, 4, 8, 16, 32
These weights can cover the complete range from 1-40 kgs
Example: 1 kg + 2 kg + 4 kg + 8 kg + 16 kg + 32 kg = 63 kgs
Q2. How to write e2e tests in automation?
E2E tests in automation are written to simulate real user scenarios from start to finish.
Identify end-to-end scenarios to test
Use automation tools like Selenium or Cypress
Write test scripts to simulate user actions
Verify expected outcomes and results
Run tests regularly to ensure functionality
Q3. How to test amazon cart?
To test Amazon cart, perform functional, usability, security, and performance testing.
Test adding items to cart and verifying correct quantity and price
Test removing items from cart and updating total price
Test applying discounts or promo codes
Test checking out and completing the purchase process
Test for security vulnerabilities such as session hijacking
Test for performance by simulating high traffic scenarios
Q4. test planning for google doc
Test planning for Google Doc involves defining test objectives, creating test cases, prioritizing testing areas, and scheduling testing activities.
Define test objectives based on the features and functionalities of Google Doc
Create test cases to cover all possible scenarios and edge cases
Prioritize testing areas based on criticality and impact on users
Schedule testing activities to ensure thorough coverage before release
Q5. Stack Leetcode hard problem
Implement a stack data structure that supports push, pop, top, and retrieving the minimum element in constant time.
Use two stacks - one to store the actual elements and another to store the minimum values at each point.
When pushing an element, check if it is smaller than the current minimum and update the minimum stack accordingly.
When popping an element, also pop from the minimum stack if the element being popped is the current minimum.
To retrieve the minimum element, simply...read more
Q6. Ad metric system design
Designing an ad metric system to track and analyze advertising performance.
Define key metrics to track such as impressions, clicks, conversions, and ROI
Implement tracking mechanisms using cookies, pixels, or SDKs
Create a dashboard for real-time monitoring and reporting
Utilize data visualization tools to analyze trends and optimize campaigns
Interview Process at Sanofi
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month