Virtusa Consulting Services
20+ Jai Baba Construction Interview Questions and Answers
Q1. Print Permutations - String Problem Statement
Given an input string 'S', you are tasked with finding and returning all possible permutations of the input string.
Input:
The first and only line of input contains...read more
The task is to find and return all possible permutations of a given input string.
Use recursion to generate all possible permutations of the input string.
Swap characters in the string to generate different permutations.
Handle duplicate characters by using a set to store unique permutations.
Return the list of permutations as an array of strings.
Q2. Types of file in synon, types of context of fields in functions, types of fields in synon, types of screen in synon and difference, purpose of arrays in synon, how to delete single and all records in arrays in...
read moreSynon file types, field contexts, screen types, array purpose and deletion in Synon
Synon file types include physical, logical, and display files
Field contexts in functions include input, output, and both
Types of fields in Synon include alphanumeric, numeric, and date
Types of screens in Synon include inquiry, maintenance, and report
Arrays in Synon are used to store multiple values of the same data type
To delete a single record in an array, use the DELETE_ARRAY_ENTRY function
To...read more
Set up Azure architecture for client transitioning from on-premises to cloud
Assess current on-premises infrastructure and workloads
Design Azure architecture based on client's requirements and goals
Implement Azure services such as Virtual Machines, Azure Active Directory, and Azure Storage
Set up networking and security configurations in Azure
Migrate data and applications from on-premises to Azure using tools like Azure Site Recovery
Optimize and monitor the Azure environment po...read more
Major differences between @RequestMapping and @GetMapping in Spring Boot
1. @RequestMapping is a generic annotation for mapping HTTP requests to handler methods, while @GetMapping is a specialized version that only handles GET requests.
2. @GetMapping is a shortcut for @RequestMapping(method = RequestMethod.GET), making it more concise and specific.
3. @RequestMapping allows for specifying additional parameters like headers, params, and consumes/produces, while @GetMapping is li...read more
The four core API architectures that Kafka uses are Producer API, Consumer API, Streams API, and Connector API.
Producer API: Allows applications to publish streams of records to one or more Kafka topics.
Consumer API: Allows applications to subscribe to topics and process the stream of records produced to them.
Streams API: Allows creating and processing real-time data streams from one or more input topics to one or more output topics.
Connector API: Allows building and running ...read more
The @RestController annotation in Spring Boot is used to define a class as a RESTful controller.
Used to create RESTful web services in Spring Boot
Combines @Controller and @ResponseBody annotations
Eliminates the need for @ResponseBody annotation on each method
Returns data directly in the response body as JSON or XML
Spring Boot offers annotations like @SpringBootApplication, @RestController, @Autowired, @Component, @Repository, @Service, @Configuration, @RequestMapping, etc.
@SpringBootApplication - Used to mark the main class of a Spring Boot application
@RestController - Used to define RESTful web services
@Autowired - Used for automatic dependency injection
@Component - Used to indicate a class is a Spring component
@Repository - Used to indicate a class is a Spring repository
@Service - Us...read more
To deploy multiple environment scripts using Terraform, you can use Terraform workspaces and variables.
Use Terraform workspaces to manage multiple environments such as dev, staging, and production.
Create separate Terraform configuration files for each environment, with environment-specific variables.
Use Terraform variables to define environment-specific settings like resource names, sizes, and configurations.
Utilize Terraform modules to reuse common configurations across diff...read more
Kafka monitoring is essential for ensuring optimal performance, detecting issues, and maintaining data integrity.
Real-time monitoring of data ingestion and processing
Tracking consumer lag to ensure timely data consumption
Identifying bottlenecks and optimizing cluster performance
Monitoring disk usage and network throughput
Alerting on anomalies or failures for proactive troubleshooting
To create an immutable class in Hibernate, use final keyword for class, make fields private and provide only getters.
Use the final keyword for the class to prevent subclassing
Make fields private to restrict direct access
Provide only getters for the fields to ensure read-only access
Avoid providing setters or mutable methods
Query Cache in Hibernate stores the results of queries in memory to improve performance by avoiding repeated database calls.
Query Cache is a second-level cache in Hibernate that stores the results of queries along with the query key in memory.
It helps in improving performance by avoiding repeated database calls for the same query.
Query Cache can be enabled in Hibernate configuration to cache query results.
It is useful for read-heavy applications where the same queries are exe...read more
Q12. Types of matching in tmap, and difference b/w tmap and tunite
TMAP has three types of matching: exact, fuzzy, and partial. TUNITE is used for merging data from multiple sources.
TMAP has exact, fuzzy, and partial matching options for data mapping
Exact matching requires exact match of values in source and target
Fuzzy matching allows for some variation in values, such as spelling errors
Partial matching matches based on a percentage of similarity between values
TUNITE is used for merging data from multiple sources into a single output
TUNITE ...read more
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot eliminates the need for manual configuration by providing defaults for most settings.
It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to run applications.
Spring Boot also offers production-ready features like metrics, health checks, and externalized configuration.
It allows developers to quickly build and deploy ...read more
Dependency injection is a design pattern where components are given their dependencies rather than creating them internally.
Allows for easier testing by mocking dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
Hibernate caching is a mechanism used to improve the performance of Hibernate applications by reducing the number of database queries.
Hibernate caching stores frequently accessed data in memory to reduce the need for repeated database queries
There are different levels of caching in Hibernate such as first-level cache and second-level cache
First-level cache is associated with the Session object and is enabled by default
Second-level cache is shared across multiple sessions and ...read more
Q16. Diff b/w tjava , tjavaflex, tjavarow?
tJava, tJavaFlex, and tJavaRow are components in Talend for Java programming.
tJava is used for writing custom Java code in Talend jobs.
tJavaFlex is used for writing complex Java code in Talend jobs.
tJavaRow is used for writing Java code to manipulate data in Talend jobs.
All three components require Java programming knowledge.
Examples: tJava can be used to perform calculations, tJavaFlex can be used to create custom functions, and tJavaRow can be used to filter data.
Q17. What is right outer join
Right outer join returns all records from the right table and matching records from the left table.
It includes all the records from the right table and only matching records from the left table.
If there is no match in the left table, the result will contain NULL values.
It is denoted by RIGHT OUTER JOIN or RIGHT JOIN keyword in SQL.
Example: SELECT * FROM right_table RIGHT JOIN left_table ON right_table.id = left_table.id;
Q18. What are types in Oracle
Types in Oracle are data types that define the type of data that can be stored in a column or variable.
Oracle has several built-in data types such as NUMBER, VARCHAR2, DATE, and CLOB.
NUMBER is used to store numeric values, VARCHAR2 is used to store character strings, DATE is used to store dates and times, and CLOB is used to store large character strings.
Oracle also supports user-defined data types, which can be created using the CREATE TYPE statement.
User-defined data types ...read more
Q19. What is an array type
An array type is a data type that stores a collection of elements of the same data type in a contiguous memory location.
Arrays can be one-dimensional or multi-dimensional
Elements in an array can be accessed using an index
Arrays can be initialized with a fixed size or dynamically resized
Examples of array types include int[], double[], and string[]
Q20. Diff between tjava, tjavarow, tjavaflex
tJava, tJavaRow, and tJavaFlex are all components in Talend that allow for custom Java code to be executed within a job.
tJava is used to execute Java code within a job, and can be used to manipulate data or perform custom logic.
tJavaRow is similar to tJava, but is used specifically for manipulating data row by row.
tJavaFlex is a more advanced version of tJava that allows for more complex Java code to be executed within a job.
All three components require knowledge of Java prog...read more
Q21. What is a trigger
A trigger is an event or condition that initiates a specific action or process.
Triggers are commonly used in programming and databases.
They can be used to automate tasks or initiate processes based on certain conditions.
Examples include a trigger that sends an email when a new user registers on a website, or a trigger that updates a database record when a certain field is changed.
Triggers can also be used in marketing automation to initiate a specific action based on a user's...read more
More about working at Virtusa Consulting Services
Interview Process at Jai Baba Construction
Top Technology Consultant Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month