0% found this document useful (0 votes)
53 views7 pages

Amazon Interview Questions

Uploaded by

Sourav Pal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views7 pages

Amazon Interview Questions

Uploaded by

Sourav Pal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

‭Amazon Business Analyst Assignment Questions ➖‬

‭ uestion 1‬‭- Scenario: You are a data analyst at an‬‭online bookstore. The `Product_Orders` table‬
Q
‭logs each order made, uniquely identified by an `order_id`, along with the associated‬
‭̀product_id`, `unit_price`, and `order_timestamp`. The `Order_Status` table tracks changes in‬
‭status for each order with a corresponding status `timestamp`.‬

S‭ tatus Definitions:‬
‭- PLACED: The order has been made by the customer.‬
‭- SHIPPED: The order has been dispatched from the warehouse.‬
‭- DELIVERED: The order has been received by the customer.‬
‭- REFUSED: The customer refused the order at delivery.‬
‭- RETURNED: The order was returned by the customer after accepting it.‬

‭Objective: Calculate the Total Sales Value Difference month-on-month.‬

F‭ ormula:‬
‭- Total Sales Value Difference = Sum(unit price of DELIVERED orders) - Sum(unit price of‬
‭REFUSED orders) - Sum(unit price of RETURNED orders), calculated monthly.‬

‭Data Samples:‬

‭̀Product_Orders` Table:‬

|‭ order_id | order_timestamp | product_id | unit_price |‬


‭|----------|------------------|------------|------------|‬
‭| 1001 | 2023-01-15 10:00 | 501 | 25 |‬
‭| 1002 | 2023-01-18 15:00 | 502 | 45 |‬
‭| 1003 | 2023-02-10 09:00 | 503 | 30 |‬
‭| 1004 | 2023-02-12 14:00 | 504 | 50 |‬
‭| 1005 | 2023-02-28 20:00 | 505 | 20 |‬
‭| 1006 | 2023-03-03 12:00 | 506 | 55 |‬
‭| 1007 | 2023-03-05 11:00 | 507 | 40 |‬

‭̀Order_Status` Table:‬

|‭ order_id | timestamp | status |‬


‭|----------|------------------|------------|‬
‭| 1001 | 2023-01-16 14:00 | SHIPPED |‬
‭| 1001 | 2023-01-17 12:00 | DELIVERED |‬
‭| 1002 | 2023-01-19 16:00 | REFUSED |‬
‭| 1003 | 2023-02-11 10:00 | DELIVERED |‬
‭| 1004 | 2023-02-13 16:00 | RETURNED |‬
|‭ 1005 | 2023-02-28 21:00 | DELIVERED |‬
‭| 1006 | 2023-03-04 13:00 | DELIVERED |‬
‭| 1007 | 2023-03-06 10:00 | RETURNED |‬

‭Questions - 2‬

‭ ere are the graphs for the hypothetical scenario comparing two email marketing‬
H
‭strategies: Design Tips and Sales Events. Based on these graphs, you can analyze the‬
‭effectiveness of each campaign.‬
‭Questions Based on the Graphs:‬
‭1.‬ ‭Overall Performance Analysis‬
‭●‬ ‭Which email campaign had a higher total number of emails delivered?‬
‭●‬ ‭Which campaign achieved a higher overall click-through rate?‬
‭2.‬ ‭Segmented Performance Analysis‬
‭●‬ ‭Compare the click-through rates of the Design Tips and Sales Events‬
‭campaigns among occasional buyers. Which strategy was more effective‬
‭with this group?‬
‭●‬ ‭Analyze the click-through rates among frequent buyers. Which strategy‬
‭seems more appealing to this segment?‬
‭3.‬ ‭Strategic Insights‬
‭●‬ ‭Based on the click-through rates shown in the graphs, which strategy‬
‭seems to better resonate with the target audience? Why might that be the‬
‭case?‬
‭●‬ ‭Considering the different responses between occasional and frequent‬
‭buyers, how might the company tailor future campaigns to these distinct‬
‭groups?‬

‭2nd round Business Analyst Interview Questions -‬


‭A. SQL:‬

‭ . You have two tables: Product and Supplier.‬


1
‭- Product Table Columns: Product_id, Product_Name, Supplier_id, Price‬
‭- Supplier Table Columns: Supplier_id, Supplier_Name, Country‬

‭ rite an SQL query to find the name of the product with the highest price in each‬
W
‭country.‬

‭ . You have two tables: Customer and Transaction.‬


2
‭- Customer Table Columns: Customer_id, Customer_Name, Registration_Date‬
‭- Transaction Table Columns: Transaction_id, Customer_id, Transaction_Date, Amount‬

‭ rite an SQL query to calculate the total transaction amount for each customer for the‬
W
‭current year. The output should contain Customer_Name and the total amount.‬

‭B. Python:‬

‭1. Basic oral questions on pandas (like: groupby, loc/iloc, merge & join, etc.)‬

‭ . Write the code in pandas that replicates the functionality of your answer to the‬
2
‭second SQL question.‬
‭C. Leadership or Situational Questions:‬

(‭ Based on the leadership principle of Disagree and Commit)‬


‭- Tell us about a time when you had to support a decision you disagreed with. How did‬
‭you handle it, and what was the result?‬

(‭ Based on the leadership principle of Earn Trust)‬


‭- Describe an instance where you went above and beyond to build or regain trust with a‬
‭colleague or client. What was the situation, and what were the outcomes?‬

(‭ Based on the leadership principle of Invent and Simplify)‬


‭- Can you share an example of when you had to find an innovative solution to a complex‬
‭problem? How did you simplify the process or solution for everyone involved?‬

‭D. Excel:‬

‭ uestions on formulas like: SUMIFS, COUNTIFS, LOOKUPS, INDEX & MATCH,‬


Q
‭AVERAGEIFS. Plus, some basic questions on pivot tables, conditional formatting, data‬
‭validation, and charts.‬

‭Senior Analyst Technical interview questions -‬


#‭ ## A. SQL:‬
‭1. Advanced Joins and Aggregations:‬
‭- You have two tables: Employee and Department.‬
‭- Employee Table Columns: Employee_id, Employee_Name, Department_id, Salary,‬
‭Date_Joined‬
‭- Department Table Columns: Department_id, Department_Name, Location‬
‭- Write an SQL query to find the name and salary of the highest-paid employee in each‬
‭department who joined in the last three years, along with their department name and location.‬

‭2. Complex Data Manipulation:‬


‭- You have two tables: Orders and Customers.‬
‭- Orders Table Columns: Order_id, Customer_id, Order_Date, Amount, Status‬
‭- Customers Table Columns: Customer_id, Customer_Name, Join_Date‬
‭- Write an SQL query to calculate the total order amount for each customer who joined in the‬
‭current year and has made at least three orders. The output should include Customer_Name‬
‭and the total amount, sorted by the total amount in descending order.‬

‭3. Subqueries and Conditional Logic:‬


‭- You have a single table: Transactions.‬
‭- Transactions Table Columns: Transaction_id, Account_id, Transaction_Date, Amount, Type‬
‭(‘credit’ or ‘debit’)‬
-‭ Write an SQL query to find the account balance for all accounts as of today, assuming that‬
‭the balance starts at zero and only transactions up to today are considered.‬

‭4. Window Functions:‬


‭- You have the following table: Sales.‬
‭- Sales Table Columns: Sale_id, Product_id, Sale_Date, Revenue‬
‭- Write an SQL query using window functions to rank the products by revenue in each quarter‬
‭of the year. Include year, quarter, product_id, revenue, and rank.‬

‭### B. Python (Pandas & NumPy):‬

‭1. Complex Data Frame Manipulation:‬


‭- Given a DataFrame 'df_sales' with columns [‘Product_id’, ‘Sale_Date’, ‘Revenue’], write a‬
‭pandas code snippet to calculate the cumulative revenue for each product up to the current‬
‭date and display the last 10 entries.‬

‭2. NumPy Array Operations:‬


‭- Write a NumPy script to create a 2D array of shape (10,10) where each element is equal to‬
‭the sum of its row index and column index. Then, extract and print a 4x4 subarray starting from‬
‭the second row and second column of the original array.‬

‭3. Data Merging and Analysis:‬


‭- Assume you have two DataFrames, 'df_customers' with columns [‘Customer_id’,‬
‭‘Customer_Name’] and 'df_orders' with columns [‘Order_id’, ‘Customer_id’, ‘Order_Date’,‬
‭‘Amount’]. Write a pandas code snippet to merge these DataFrames on 'Customer_id' and‬
‭calculate the average order amount for each customer. Sort the results by the average order‬
‭amount in descending order.‬

‭4. Time Series and Data Aggregation:‬


‭- Using the 'df_sales' DataFrame, demonstrate how to resample the data to get monthly total‬
‭revenue. Then, plot this monthly revenue trend using Matplotlib, ensuring to label the axes and‬
‭provide a title to the graph.‬

‭Amazon's leadership principles & FAQs based on that -‬


‭ . Customer Obsession: Leaders start with the customer and work backwards. They work‬
1
‭vigorously to earn and keep customer trust.‬
‭- FAQ: Can you describe a time when you went above and beyond for a customer?‬

‭ . Ownership: Leaders act on behalf of the entire company, beyond just their own team. They‬
2
‭never say "that's not my job."‬
‭- FAQ: How have you demonstrated ownership in your previous roles?‬

‭ . Invent and Simplify: Leaders expect and require innovation and invention from their teams‬
3
‭and always find ways to simplify.‬
‭- FAQ: Tell me about a time when you invented something or significantly simplified a process.‬

‭4. Are Right, A Lot: Leaders are right a lot. They have strong judgment and good instincts.‬
‭- FAQ: Can you provide an example of a decision you made that was a success and why you‬
‭think it was the right decision?‬

‭ . Learn and Be Curious: Leaders are never done learning and always seek to improve‬
5
‭themselves. They are curious about new possibilities and act to explore them.‬
‭- FAQ: What are you currently learning and why is it important to you?‬

‭ . Hire and Develop the Best: Leaders raise the performance bar with every hire and promotion.‬
6
‭They recognize exceptional talent, and willingly move them throughout the organization.‬
‭- FAQ: How do you mentor others? Give an example of how you helped someone succeed‬
‭professionally.‬

‭ . Insist on the Highest Standards: Leaders have relentlessly high standards—many people may‬
7
‭think these standards are unreasonably high.‬
‭- FAQ: How do you maintain high standards for yourself and your team?‬

‭ . Think Big: Thinking small is a self-fulfilling prophecy. Leaders create and communicate a bold‬
8
‭direction that inspires results.‬
‭- FAQ: Describe a time when you had to think big and what led you to it.‬

‭ . Bias for Action: Speed matters in business. Many decisions and actions are reversible and do‬
9
‭not need extensive study.‬
‭- FAQ: Can you describe a situation where you had to make a quick decision with limited‬
‭information?‬

‭ 0. Frugality: Accomplish more with less. Constraints breed resourcefulness, self-sufficiency, and‬
1
‭invention.‬
‭- FAQ: Tell me about a time when you had to achieve something significant with very few‬
‭resources.‬

‭ 1. Earn Trust: Leaders listen attentively, speak candidly, and treat others respectfully. They are‬
1
‭vocally self-critical, even when doing so is awkward or embarrassing.‬
‭- FAQ: How do you earn trust among your team and stakeholders?‬

‭ 2. Dive Deep: Leaders operate at all levels, stay connected to the details, and audit frequently.‬
1
‭No task is beneath them.‬
‭- FAQ: Describe a time when you had to "dive deep" into the details of a project.‬
‭ 3. Have Backbone; Disagree and Commit: Leaders respectfully challenge decisions when they‬
1
‭disagree, even when doing so is uncomfortable or exhausting.‬
‭- FAQ: Have you ever disagreed with a senior decision-maker? How did you handle the‬
‭situation?‬

‭ 4. Deliver Results: Leaders focus on the key inputs for their business and deliver them with the‬
1
‭right quality and in a timely fashion.‬
‭- FAQ: Can you talk about a time when you overcame a significant challenge to deliver results?‬

‭ 5. Strive to be Earth’s Best Employer: Leaders work every day to create a safer, more‬
1
‭productive, higher performing, more diverse, and more just work environment.‬
‭- FAQ: How do you contribute to creating a positive and inclusive workplace culture?‬

‭ 6. Success and Scale Bring Broad Responsibility: Leaders must consider the broader societal‬
1
‭impacts of their actions.‬
‭- FAQ: How have you balanced company success with social responsibility?‬

You might also like