Add office photos
Premium Employer

Guardian India

4.0
based on 657 Reviews
Filter interviews by

10+ PwC Interview Questions and Answers

Updated 5 Feb 2024

Q1. how internal resource view resolver will work.

Ans.

Internal resource view resolver resolves view names to actual view resources within the application.

  • Internal resource view resolver is a part of Spring MVC framework.

  • It maps view names to actual view resources within the application.

  • It resolves the view name to a View object that can render the response.

  • It can be configured in the application context file using the bean tag.

  • Example:

Add your answer

Q2. what is abstraction and how to achieve it.

Ans.

Abstraction is the process of hiding complex implementation details and exposing only the necessary information.

  • Abstraction is achieved through the use of abstract classes and interfaces.

  • It helps in reducing complexity and making code more maintainable.

  • Abstraction allows for better separation of concerns and promotes modularity.

  • Examples of abstraction include the use of APIs and libraries.

  • Abstraction is a key concept in object-oriented programming.

Add your answer

Q3. difference between interface and functional interface

Ans.

An interface is a blueprint for a class while a functional interface is an interface with only one abstract method.

  • An interface can have multiple abstract methods while a functional interface has only one.

  • Functional interfaces can be used with lambda expressions and method references.

  • Examples of functional interfaces include Runnable, Comparator, and Callable.

  • Interfaces can have default and static methods while functional interfaces cannot.

  • Functional interfaces are used exten...read more

Add your answer

Q4. when will get bean not found exception

Ans.

Bean not found exception occurs when a requested bean is not present in the container.

  • Occurs during runtime when a bean is not defined in the application context

  • Can be caused by typos in bean names or incorrect configuration

  • Can be resolved by defining the missing bean or correcting the configuration

Add your answer
Discover PwC interview dos and don'ts from real experiences

Q5. difference between controller and rest controller.

Ans.

Controller is a basic Spring MVC controller while RestController is used to create RESTful web services.

  • Controller is used for traditional web applications while RestController is used for RESTful web services.

  • RestController returns data in JSON or XML format while Controller returns data in HTML format.

  • RestController is annotated with @RestController while Controller is annotated with @Controller.

  • RestController is a specialized version of Controller.

  • Example: @RestController ...read more

Add your answer

Q6. How to debug issues in different monitoring tools.

Ans.

Debugging issues in monitoring tools requires a systematic approach.

  • Identify the problem by analyzing the monitoring data.

  • Check the logs and error messages for more information.

  • Use debugging tools like traceroute, ping, and tcpdump to isolate the issue.

  • Collaborate with other teams to identify the root cause and find a solution.

  • Document the process and solution for future reference.

Add your answer
Are these interview questions helpful?

Q7. what is application container

Ans.

An application container is a lightweight, standalone executable package that contains everything needed to run an application.

  • Application containers provide a way to package and deploy applications in a consistent and reproducible way.

  • They isolate the application from the underlying system, making it portable across different environments.

  • Examples of container technologies include Docker, Kubernetes, and OpenShift.

Add your answer

Q8. what is serialization

Ans.

Serialization is the process of converting an object into a format that can be stored or transmitted.

  • Serialization is used to transfer data over a network or to store it in a file.

  • It involves converting an object into a stream of bytes or characters.

  • The serialized data can then be deserialized back into an object.

  • Serialization is commonly used in programming languages like Java and C#.

  • Examples of serialization formats include JSON, XML, and binary formats like Protocol Buffer...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Runtime polymorphism with example

Ans.

Runtime polymorphism is the ability of an object to take on many forms.

  • It allows a subclass to provide its own implementation of a method that is already provided by its parent class.

  • It is achieved through method overriding.

  • Example: Animal class has a method called 'makeSound'. Dog and Cat classes extend Animal and override the 'makeSound' method to bark and meow respectively.

Add your answer

Q10. difference between RDBMS and NOSQL

Ans.

RDBMS is a relational database management system while NoSQL is a non-relational database management system.

  • RDBMS stores data in tables with predefined schema while NoSQL stores data in documents, key-value pairs, or graphs.

  • RDBMS supports ACID transactions while NoSQL sacrifices ACID for scalability and flexibility.

  • RDBMS is best suited for structured data while NoSQL is best suited for unstructured or semi-structured data.

  • Examples of RDBMS include MySQL, Oracle, and SQL Serve...read more

Add your answer

Q11. creating threads. use of filters.

Ans.

Creating threads involves dividing a program into smaller tasks that can run concurrently. Filters are used to process data.

  • Threads allow for parallel processing and can improve performance.

  • Filters are used to manipulate data by applying a set of rules or conditions.

  • Examples of filters include sorting, searching, and transforming data.

  • Filters can be applied to threads to process data in parallel.

Add your answer

Q12. explain about stream API

Ans.

Stream API is a Java API that allows processing of collections of objects in a functional way.

  • Stream API provides a set of functional interfaces to perform operations on collections.

  • It supports parallel processing of collections.

  • It can be used to filter, map, reduce, and sort collections.

  • Example: List numbers = Arrays.asList(1, 2, 3, 4, 5); numbers.stream().filter(n -> n % 2 == 0).forEach(System.out::println);

  • Example: List names = Arrays.asList("John", "Jane", "Jim"); names.s...read more

Add your answer

Q13. spring boot advantages.

Ans.

Spring Boot provides rapid application development and easy deployment with minimal configuration.

  • Auto-configuration of dependencies

  • Embedded server for easy deployment

  • Actuator for monitoring and managing applications

  • Support for various data sources and frameworks

  • Easy integration with other Spring projects

  • Reduced boilerplate code

  • Support for microservices architecture

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Engineer Interview Questions from Similar Companies

3.3
 • 30 Interview Questions
4.0
 • 25 Interview Questions
3.8
 • 22 Interview Questions
4.0
 • 18 Interview Questions
3.7
 • 14 Interview Questions
3.9
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter