Find Interview Questions for Top Companies
Locust walk Interview Questions and Answers
Ques:- What are the different types of APIs
Right Answer:
The different types of APIs are:

1. **Open APIs (Public APIs)** - Available to developers and third parties.
2. **Internal APIs (Private APIs)** - Used within an organization.
3. **Partner APIs** - Shared with specific business partners.
4. **Composite APIs** - Combine multiple endpoints into a single call.
5. **Web APIs** - Accessible over the internet using HTTP/HTTPS.
Ques:- What are the common status codes in HTTP responses
Right Answer:
The common status codes in HTTP responses are:

- **200**: OK
- **201**: Created
- **204**: No Content
- **400**: Bad Request
- **401**: Unauthorized
- **403**: Forbidden
- **404**: Not Found
- **500**: Internal Server Error
- **502**: Bad Gateway
- **503**: Service Unavailable
Ques:- What is the difference between GET, POST, PUT, and DELETE in HTTP
Right Answer:
GET is used to retrieve data from a server, POST is used to send data to a server to create a resource, PUT is used to update an existing resource on the server, and DELETE is used to remove a resource from the server.
Ques:- What is API versioning and why is it important
Right Answer:
API versioning is the practice of managing changes to an API by assigning version numbers to different iterations of the API. It is important because it allows developers to introduce new features or make changes without breaking existing client applications that rely on older versions, ensuring backward compatibility and a smoother transition for users.
Ques:- What are RESTful principles and how do they apply to API design
Right Answer:
RESTful principles include:

1. **Statelessness**: Each API call must contain all the information needed to understand and process the request, with no stored context on the server.
2. **Client-Server Architecture**: The client and server are separate, allowing for independent development and scalability.
3. **Uniform Interface**: A consistent way to interact with resources, typically using standard HTTP methods (GET, POST, PUT, DELETE).
4. **Resource-Based**: APIs should expose resources (data entities) through URIs, and clients interact with these resources.
5. **Representation**: Resources can be represented in various formats (like JSON or XML), and clients can request the format they prefer.
6. **Cacheability**: Responses should indicate whether they can be cached to improve performance and reduce server load.

These principles guide the design of APIs to be scalable, efficient, and easy to use.
Ques:- What is the difference between supervised and unsupervised learning
Right Answer:
Supervised learning uses labeled data to train models, meaning the output is known, while unsupervised learning uses unlabeled data, where the model tries to find patterns or groupings without predefined outcomes.
Ques:- What are the different types of data distributions
Right Answer:
The different types of data distributions include:

1. Normal Distribution
2. Binomial Distribution
3. Poisson Distribution
4. Uniform Distribution
5. Exponential Distribution
6. Log-Normal Distribution
7. Geometric Distribution
8. Beta Distribution
9. Chi-Squared Distribution
10. Student's t-Distribution
Ques:- What is the difference between correlation and causation
Right Answer:
Correlation is a statistical measure that indicates the extent to which two variables fluctuate together, while causation implies that one variable directly affects or causes a change in another variable.
Ques:- What is classification analysis and how does it work
Right Answer:
Classification analysis is a data analysis technique used to categorize data into predefined classes or groups. It works by using algorithms to learn from a training dataset, where the outcomes are known, and then applying this learned model to classify new, unseen data based on its features. Common algorithms include decision trees, logistic regression, and support vector machines.
Ques:- What is regression analysis and when is it used
Right Answer:
Regression analysis is a statistical method used to examine the relationship between one dependent variable and one or more independent variables. It is used to predict outcomes, identify trends, and understand the strength of relationships in data.
Ques:- What is fish-bone analysis?
Right Answer:
Fishbone analysis, also known as Ishikawa or cause-and-effect diagram, is a visual tool used to identify and organize potential causes of a problem. It helps teams analyze the root causes of issues by categorizing them into different branches, resembling the bones of a fish.
Ques:- What is CDC TECHNIQUE?, What is confirmed Dimension tell the scenario where u face, What is role playing Dimension, Types of Hierarchy
Right Answer:
CDC (Change Data Capture) technique is a method used to identify and capture changes made to data in a database, allowing for efficient data synchronization and updates in data warehousing.

A confirmed dimension is a dimension that is shared across multiple fact tables, ensuring consistency in reporting. For example, a "Customer" dimension can be confirmed across sales and returns fact tables.

A role-playing dimension is a dimension that can be used in multiple contexts within the same data model. For instance, a "Date" dimension can represent different roles like "Order Date," "Ship Date," and "Delivery Date."

Types of hierarchy include:
1. **Parent-Child Hierarchy**: A hierarchy where each member can have multiple children and a single parent.
2. **Level-Based Hierarchy**: A hierarchy where members are organized into levels, such as Year > Quarter > Month > Day.
Ques:- Waht is second normal form
Right Answer:
Second Normal Form (2NF) is a database normalization level where a table is in First Normal Form (1NF) and all non-key attributes are fully functionally dependent on the entire primary key, meaning there are no partial dependencies on a composite primary key.
Ques:- What is the difference between hashed file stage and sequential file stage in relates to DataStage Server?
Right Answer:
The hashed file stage in DataStage Server allows for fast access and retrieval of data using a hash key, enabling efficient lookups and joins. In contrast, the sequential file stage reads and writes data in a linear fashion, processing records one after another without indexing, making it slower for random access operations.
Ques:- WHAT DOES SQL TAB CONTAIN?
Right Answer:
The SQL tab typically contains SQL queries and commands used to interact with a database, such as SELECT, INSERT, UPDATE, DELETE statements, and other database management commands.
Ques:- I want to get sales data for the last (suppose 10) dates dynamicallyusing value prompt how can i do it and drag it onto report editor.
Asked In :- reliaquest, locust walk,
Right Answer:
To get sales data for the last 10 dates dynamically using a value prompt, you can follow these steps:

1. Create a value prompt in your report that allows users to select a date range.
2. Use a filter or a calculated field in your query to retrieve data where the sale date is within the last 10 days. You can use a SQL expression like:
```sql
WHERE sale_date >= CURRENT_DATE - INTERVAL '10 days'
```
3. Drag the value prompt and the filtered sales data into the report editor to display the results.
Ques:- Is detail important to you? Do you think details should be left to your assistant?
Right Answer:
Yes, details are important to me. I believe that paying attention to details is crucial for accuracy and quality, and while I can delegate tasks, I still need to be involved in the details to ensure everything is done correctly.
Ques:- Tell me about the most boring job you?ve ever had.
Right Answer:
The most boring job I ever had was working as a data entry clerk. The tasks were repetitive, involving long hours of inputting information into spreadsheets with little variation or interaction. It taught me the importance of attention to detail, but it lacked engagement and creativity.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users