Birlasoft
10+ British Council Interview Questions and Answers
Q1. What are the different Cluster Managers available in Spark ?
Apache Spark supports several cluster managers including YARN, Mesos, and Standalone.
YARN is the default cluster manager for Spark and is used for Hadoop-based clusters.
Mesos is a general-purpose cluster manager that can be used with Spark, Hadoop, and other frameworks.
Standalone is a simple cluster manager that comes bundled with Spark and is suitable for testing and development purposes.
Q2. What are the features of the Apache Spark ?
Apache Spark is a fast and general-purpose cluster computing system.
Distributed computing engine
In-memory processing
Supports multiple languages
Machine learning and graph processing libraries
Real-time stream processing
Fault-tolerant
Scalable
Q3. How is Spark different from Map reduce ?
Spark is faster than MapReduce due to in-memory processing and DAG execution model.
Spark uses in-memory processing while MapReduce uses disk-based processing.
Spark has DAG (Directed Acyclic Graph) execution model while MapReduce has Map and Reduce phases.
Spark supports real-time processing while MapReduce is batch-oriented.
Spark has a higher level of abstraction and supports multiple languages while MapReduce is limited to Java.
Spark has built-in libraries for SQL, streaming,...read more
Q4. What is the difference between RDD and coalesce ?
RDD is a distributed collection of data while coalesce is a method to reduce the number of partitions in an RDD.
RDD is immutable while coalesce creates a new RDD with fewer partitions
RDD is used for parallel processing while coalesce is used for reducing the number of partitions
RDD can be created from Hadoop InputFormats while coalesce is a method of RDD
Example: rdd.coalesce(1) merges all partitions into a single partition
Q5. What is React ,Why it is used in modern days apps
React is a JavaScript library for building user interfaces, known for its efficiency and flexibility.
React allows for the creation of reusable UI components, making development faster and more efficient.
It uses a virtual DOM to improve performance by only updating the necessary parts of the UI.
React is popular for single-page applications and dynamic web interfaces.
It is widely used in modern web development due to its declarative and component-based approach.
React Native all...read more
Q6. What are RDD in Pyspark ?
RDD stands for Resilient Distributed Datasets in Pyspark, which are fault-tolerant collections of elements that can be processed in parallel.
RDDs are the fundamental data structure in Pyspark.
They are immutable and can be cached in memory for faster processing.
RDDs can be created from Hadoop Distributed File System (HDFS), local file system, or by transforming existing RDDs.
Examples of transformations include map, filter, and reduceByKey.
Actions like count, collect, and saveA...read more
Q7. What is props,Virtual Dom
Props are used to pass data from parent to child components in React. Virtual DOM is a lightweight copy of the actual DOM for efficient updates.
Props are read-only and cannot be modified by the child component
Virtual DOM is a concept in React where changes are first made to a lightweight copy of the actual DOM before being applied to the real DOM
Virtual DOM helps in improving performance by minimizing the number of updates needed to the actual DOM
Q8. How u have implemented weblogic in your project.
I have implemented WebLogic in my project by configuring and deploying applications on the WebLogic server.
Configured WebLogic server by setting up domains, servers, and clusters
Deployed applications on WebLogic server using deployment descriptors
Managed application resources and services through WebLogic Console or WLST scripts
Configured connection pools, data sources, and JMS resources
Implemented security measures like SSL, authentication, and authorization
Monitored server ...read more
Q9. Difference between .py and py files
The .py extension is used for Python source code files, while py files can refer to any file with the py extension.
The .py extension is commonly used for Python scripts and modules.
py files can refer to any file with the py extension, including Python source code files, but also other types of files such as text files or data files.
The .py extension is recognized by Python interpreters and can be executed directly.
py files may not necessarily be executable and their purpose d...read more
Q10. Parallel curser technique
Parallel cursor technique is a database optimization technique that allows multiple queries to be executed simultaneously.
Parallel cursor technique is used to improve the performance of database queries.
It allows multiple queries to be executed simultaneously, reducing the overall query time.
This technique is particularly useful for large databases with complex queries.
Examples of databases that use parallel cursor technique include Oracle and SQL Server.
Q11. Explain Var and const with their respective scopes in javascript
Var and const are variable declarations in JavaScript with different scopes. Var has function scope while const has block scope.
Var has function scope, meaning it is accessible within the function it is declared in.
Const has block scope, meaning it is accessible only within the block it is declared in.
Var can be redeclared and reassigned, while const cannot be reassigned but can be mutated.
Var is hoisted to the top of its function scope, while const is not hoisted.
Q12. Promise in Javascript
In JavaScript, a promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure cases.
Example: const myPromise = new Promise((resolve, reject) => { ... });
Q13. What makes you drive the value for customer and how do you achieve it
I drive value for customers by prioritizing their needs, providing timely solutions, and ensuring their satisfaction.
Understanding customer requirements and expectations
Communicating effectively and promptly
Taking ownership of issues and following through to resolution
Seeking feedback and continuously improving processes
Going above and beyond to exceed customer expectations
Q14. Online coding Java 8 features
Java 8 introduced several new features such as lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to pass functionality as an argument to a method.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to process collections of objects in a functional style.
Default methods allow interfaces to have methods with implementations.
Example: List
names = Arrays.asList("Alice"...read more
Q15. Write a c program on Fibonacci
A C program to generate Fibonacci series
Use a loop to calculate Fibonacci numbers
Store the numbers in an array
Print the Fibonacci series
Q16. Like what is vlookup
VLOOKUP is a function in Excel used to search for a value in a table and return a corresponding value from another column.
VLOOKUP stands for 'Vertical Lookup'.
It is commonly used in Excel to search for a value in the leftmost column of a table and return a value in the same row from a specified column.
The syntax for VLOOKUP is =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]).
Example: =VLOOKUP(A2, B2:D10, 3, FALSE) will search for the value in cell A2 in the ...read more
Top HR Questions asked in British Council
Interview Process at British Council
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month