[Go to site: main page, start]

0% found this document useful (0 votes)
130 views24 pages

1000 Java Interview Questions Guide

Uploaded by

swatispatil0123
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)
130 views24 pages

1000 Java Interview Questions Guide

Uploaded by

swatispatil0123
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

1. What is the difference between JDK and JRE?

2. What is Java Virtual Machine (JVM)?


3. What are the different types of memory areas allocated by JVM?
4. What is JIT compiler?
5. How Java platform is different from other platforms?
6. Why people say that Java is 'write once and run anywhere' language?
7. How does ClassLoader work in Java?
8. Do you think ‘main’ used for main method is a keyword in Java?
9. Can we write main method as public void static instead of public static
void?
10. In Java, if we do not specify any value for local variables, then what
will be the default value of the local variables?
11. Let say, we run a java class without passing any arguments. What will
be the value of String array of arguments in Main method?
12. What is the difference between byte and char data types in Java?
OOPS
13. What are the main principles of Object Oriented Programming?
14. What is the difference between Object Oriented Programming
language and Object Based Programming language?
15. In Java what is the default value of an object reference defined as an
instance variable in an Object?
16. Why do we need constructor in Java?
17. Why do we need default constructor in Java classes?
18. What is the value returned by Constructor in Java?
19. Can we inherit a Constructor?
20. Why constructors cannot be final, static, or abstract in Java?
Inheritance
21. What is the purpose of ‘this’ keyword in java?
22. Explain the concept of Inheritance?
23. Which class in Java is superclass of every other class?
24. Why Java does not support multiple inheritance?
25. In OOPS, what is meant by composition?
26. How aggregation and composition are different concepts?
27. Why there are no pointers in Java?
28. If there are no pointers in Java, then why do we get
NullPointerException?
29. What is the purpose of ‘super’ keyword in java?
30. Is it possible to use this() and super() both in same constructor?
31. What is the meaning of object cloning in Java?
Static
32. In Java, why do we use static variable?
33. Why it is not a good practice to create static variables in Java?
34. What is the purpose of static method in Java?
35. Why do we mark main method as static in Java?
36. In what scenario do we use a static block?
37. Is it possible to execute a program without defining a main() method?
38. What happens when static modifier is not mentioned in the signature
of main method?
39. What is the difference between static method and instance method in
Java?
Method Overloading and Overriding
40. What is the other name of Method Overloading?
41. How will you implement method overloading in Java?
42. What kinds of argument variations are allowed in Method
Overloading?
43. Why it is not possible to do method overloading by changing return
type of method in java?
44. Is it allowed to overload main() method in Java?
45. How do we implement method overriding in Java?
46. Are we allowed to override a static method in Java?
47. Why Java does not allow overriding a static method?
48. Is it allowed to override an overloaded method?
49. What is the difference between method overloading and method
overriding in Java?
50. Does Java allow virtual functions?
51. What is meant by covariant return type in Java?
Polymorphism
52. What is Runtime Polymorphism?
53. Is it possible to achieve Runtime Polymorphism by data members in
Java?
54. Explain the difference between static and dynamic binding?
Abstraction
55. What is Abstraction in Object Oriented programming?
56. How is Abstraction different from Encapsulation?
57. What is an abstract class in Java?
58. Is it allowed to mark a method abstract method without marking the
class abstract?
59. Is it allowed to mark a method abstract as well as final?
60. Can we instantiate an abstract class in Java?
61. What is an interface in Java?
62. Is it allowed to mark an interface method as static?
63. Why an Interface cannot be marked as final in Java?
64. What is a marker interface?
65. What can we use instead of Marker interface?
66. How Annotations are better than Marker Interfaces?
67. What is the difference between abstract class and interface in Java?
68. Does Java allow us to use private and protected modifiers for
variables in interfaces?
69. How can we cast to an object reference to an interface reference?
Final
70. How can you change the value of a final variable in Java?
71. Can a class be marked final in Java?
72. How can we create a final method in Java?
73. How can we prohibit inheritance in Java?
74. Why Integer class in final in Java?
75. What is a blank final variable in Java?
76. How can we initialize a blank final variable?
77. Is it allowed to declare main method as final?
Package
78. What is the purpose of package in Java?
79. What is [Link] package?
80. Which is the most important class in Java?
81. Is it mandatory to import [Link] package every time?
82. Can you import same package or class twice in your class?
83. What is a static import in Java?
84. What is the difference between import static [Link] and
import [Link]?
Internationalization
85. What is Locale in Java?
86. How will you use a specific Locale in Java?
Serialization
87. What is the serialization?
88. What is the purpose of serialization?
89. What is Deserialization?
90. What is Serialization and Deserialization conceptually?
91. Why do we mark a data member transient?
92. Is it allowed to mark a method as transient?
93. How does marking a field as transient makes it possible to serialize an
object?
94. What is Externalizable interface in Java?
95. What is the difference between Serializable and Externalizable
interface?
Reflection
96. What is Reflection in Java?
97. What are the uses of Reflection in Java?
98. How can we access private method of a class from outside the class?
99. How can we create an Object dynamically at Runtime in Java?
Garbage Collection
[Link] is Garbage Collection in Java?
101. Why Java provides Garbage Collector?
[Link] is the purpose of gc() in Java?
[Link] does Garbage Collection work in Java?
[Link] does an object become eligible for Garbage Collection in Java?
[Link] do we use finalize() method in Java?
[Link] are the different types of References in Java?
[Link] can we reference an unreferenced object again?
[Link] kind of process is the Garbage collector thread?
[Link] is the purpose of the Runtime class?
110. How can we invoke an external process in Java?
111. What are the uses of Runtime class?
Inner Classes
112. What is a Nested class?
113. How many types of Nested classes are in Java?
114. Why do we use Nested Classes?
115. What is the difference between a Nested class and an Inner class in
Java?
116. What is a Nested interface?
117. How can we access the non-final local variable, inside a Local Inner
class?
118. Can an Interface be defined in a Class?
119. Do we have to explicitly mark a Nested Interface public static?
[Link] do we use Static Nested interface in Java?
String
121. What is the meaning of Immutable in the context of String class in
Java?
[Link] a String object is considered immutable in java?
[Link] many objects does following code create?
[Link] many ways are there in Java to create a String object?
[Link] many objects does following code create?
[Link] is String interning?
[Link] Java uses String literal concept?
[Link] is the basic difference between a String and StringBuffer
object?
[Link] will you create an immutable class in Java?
[Link] is the use of toString() method in java ?
131. Arrange the three classes String, StringBuffer and StringBuilder in
the order of efficiency for String processing operations?
Exception Handling
[Link] is Exception Handling in Java?
[Link] Java, what are the differences between a Checked and
Unchecked?
[Link] is the base class for Error and Exception classes in Java?
[Link] is a finally block in Java?
[Link] is the use of finally block in Java?
[Link] we create a finally block without creating a catch block?
[Link] we have to always put a catch block after a try block?
[Link] what scenarios, a finally block will not be executed?
[Link] we re-throw an Exception in Java?
141. What is the difference between throw and throws in Java?
[Link] is the concept of Exception Propagation?
[Link] we override a method in a Child class, can we throw an
additional Exception that is not thrown by the Parent class method?
Multi-threading
[Link] Multi-threading works in Java?
[Link] are the advantages of Multithreading?
[Link] are the disadvantages of Multithreading?
[Link] is a Thread in Java?
[Link] is a Thread’s priority and how it is used in scheduling?
[Link] are the differences between Pre-emptive Scheduling Scheduler
and Time Slicing Scheduler?
[Link] it possible to call run() method instead of start() on a thread in
Java?
151. How will you make a user thread into daemon thread if it has already
started?
[Link] we start a thread two times in Java?
[Link] what scenarios can we interrupt a thread?
[Link] Java, is it possible to lock an object for exclusive use by a thread?
[Link] notify() method is different from notifyAll() method?
Collections
[Link] are the differences between the two data structures: a Vector
and an ArrayList?
[Link] are the differences between Collection and Collections in Java?
[Link] which scenario, LinkedList is better than ArrayList in Java?
[Link] are the differences between a List and Set collection in Java?
[Link] are the differences between a HashSet and TreeSet collection
in Java?
161. In Java, how will you decide when to use a List, Set or a Map
collection?
[Link] are the differences between a HashMap and a Hashtable in
Java?
[Link] are the differences between a HashMap and a TreeMap?
[Link] are the differences between Comparable and Comparator?
[Link] Java, what is the purpose of Properties file?
[Link] is the reason for overriding equals() method?
[Link] does hashCode() method work in Java?
[Link] it a good idea to use Generics in collections?
Mixed Questions
[Link] are Wrapper classes in Java?
[Link] is the purpose of native method in Java?
171. What is System class?
[Link] is System, out and println in [Link] method call?
[Link] is the other name of Shallow Copy in Java?
[Link] is the difference between Shallow Copy and Deep Copy in
Java?
[Link] is a Singleton class?
[Link] is the difference between Singleton class and Static class?
Java Collection
[Link] is the difference between Collection and Collections
Framework in Java?
[Link] are the main benefits of Collections Framework in Java?
[Link] is the root interface of Collection hierarchy in Java?
[Link] are the main differences between Collection and Collections?
181. What are the Thread-safe classes in Java Collections framework?
[Link] will you efficiently remove elements while iterating a
Collection?
[Link] will you convert a List into an array of integers like- int[]?
[Link] will you convert an array of primitive integers int[] to a List
collection?
[Link] will you run a filter on a Collection?
[Link] will you convert a List to a Set?
[Link] will you remove duplicate elements from an ArrayList?
[Link] can you maintain a Collection with elements in Sorted order?
[Link] is the difference between [Link]() and creating
new instance of Collection?
[Link] will you copy elements from a Source List to another list?
191. What are the Java Collection classes that implement List interface?
[Link] are the Java Collection classes that implement Set interface?
[Link] is the difference between an Iterator and ListIterator in Java?
[Link] is the difference between Iterator and Enumeration?
[Link] is the difference between an ArrayList and a LinkedList data
structure?
[Link] is the difference between a Set and a Map in Java?
[Link] is the use of a Dictionary class?
[Link] is the default size of load factor in a HashMap collection in
Java?
[Link] is the significance of load factor in a HashMap in Java?
[Link] are the major differences between a HashSet and a HashMap?
[Link] are the similarities between a HashSet and a HashMap in Java?
[Link] is the reason for overriding equals() method?
[Link] can we synchronize the elements of a List, a Set or a Map?
[Link] is Hash Collision? How Java handles hash-collision in
HashMap?
[Link] are the Hash Collision resolution techniques?
[Link] is the difference between Queue and Stack data structures?
[Link] is an Iterator in Java?
[Link] is the difference between Iterator and Enumeration in Java?
[Link] is the design pattern used in the implementation of Enumeration
in Java?
[Link] methods do we need to override to use an object as key in a
HashMap?
211. How will you reverse a List in Java?
[Link] will you convert an array of String objects into a List?
[Link] is the difference between peek(), poll() and remove() methods
of Queue interface in java?
[Link] is the difference between Array and ArrayList in Java?
[Link] will you insert, delete and retrieve elements from a HashMap
collection in Java?
[Link] are the main differences between HashMap and
ConcurrentHashMap in Java?
[Link] is the increasing order of performance for following collection
classes in Java?
[Link] does Map interface not extend Collection interface in Java?
[Link] are the different ways to iterate elements of a list in Java?
[Link] is CopyOnWriteArrayList? How it is different from ArrayList
in Java?
[Link] remove() method is implemented in a HashMap?
[Link] is BlockingQueue in Java Collections?
[Link] is TreeMap class implemented in Java?
[Link] is the difference between Fail-fast and Fail-safe iterator in
Java?
[Link] does ConcurrentHashMap work in Java?
[Link] is the importance of hashCode() and equals() methods?
[Link] is the contract of hashCode() and equals() methods in Java?
[Link] is an EnumSet in Java?
[Link] are the main Concurrent Collection classes in Java?
[Link] will you convert a Collection to SynchronizedCollection in Java?
[Link] IdentityHashMap is different from a regular Map in Java?
[Link] is the main use of IdentityHashMap?
[Link] can we improve the performance of IdentityHashMap?
[Link] IdentityHashMap thread-safe?
[Link] is a WeakHashMap in Java?
[Link] can you make a Collection class read Only in Java?
[Link] is UnsupportedOperationException thrown in Java?
[Link] say there is a Customer class. We add objects of Customer class
to an ArrayList. How can we sort the Customer objects in ArrayList by
using customer firstName attribute of Customer class?
[Link] is the difference between Synchronized Collection and
Concurrent Collection?
[Link] is the scenario to use ConcurrentHashMap in Java?
[Link] will you create an empty Map in Java?
[Link] is the difference between remove() method of Collection and
remove() method of Iterator?
[Link] an Array and ArrayList, which one is the preferred
collection for storing objects?
[Link] it possible to replace Hashtable with ConcurrentHashMap in Java?
[Link] CopyOnWriteArrayList class is different from ArrayList and
Vector classes?
[Link] ListIterator has add() method but Iterator does not have?
[Link] do we sometime get ConcurrentModificationException during
iteration?
[Link] will you convert a Map to a List in Java?
[Link] can we create a Map with reverse view and lookup in Java?
[Link] will you create a shallow copy of a Map?
[Link] we cannot create a generic array in Java?
[Link] is a PriorityQueue in Java?
[Link] are the important points to remember while using Java
Collections Framework?
[Link] can we pass a Collection as an argument to a method and ensure
that method will not be able to modify it?
[Link] you explain how HashMap works in Java?
[Link] you explain how HashSet is implemented in Java?
[Link] is a NavigableMap in Java?
[Link] is the difference between descendingKeySet() and
descendingMap() methods of NavigableMap?
[Link] is the advantage of NavigableMap over Map?
[Link] is the difference between headMap(), tailMap() and subMap()
methods of NavigableMap?
[Link] will you sort objects by Natural order in a Java List?
[Link] can we get a Stream from a List in Java?
[Link] we get a Map from a Stream in Java?
[Link] are the popular implementations of Deque in Java?
Advanced Multi-threading
[Link] is a Thread in Java?
[Link] is the priority of a Thread and how it is used in scheduling?
[Link] is the default priority of a thread in Java?
[Link] are the three different priorities that can be set on a Thread in
Java?
[Link] is the purpose of join() method in Thread class?
[Link] is the fundamental difference between wait() and sleep()
methods?
[Link] it possible to call run() method instead of start() on a thread in
Java?
[Link] is a daemon thread in Java?
[Link] can we make a regular thread Daemon thread in Java?
[Link] will you make a user thread into daemon thread if it has already
started?
[Link] we start a thread two times in Java?
[Link] is a Shutdown hook in Java?
[Link] is synchronization in Java?
[Link] is the purpose of Synchronized block in Java?
[Link] is static synchronization?
[Link] is a Deadlock situation?
[Link] is the meaning of concurrency?
[Link] is the main difference between process and thread?
[Link] is a process and thread in the context of Java?
[Link] is a Scheduler?
[Link] is the minimum number of Threads in a Java program?
[Link] are the properties of a Java thread?
[Link] are the different states of a Thread in Java?
[Link] will you set the priority of a thread in Java?
[Link] is the purpose of Thread Groups in Java?
[Link] we should not stop a thread by calling its stop() method?
[Link] will you create a Thread in Java?
[Link] can we stop a thread in the middle of execution in Java?
[Link] do you access the current thread in a Java program?
[Link] is Busy waiting in Multi-threading?
[Link] can we prevent busy waiting in Java?
[Link] we use [Link]() method for real-time processing in Java?
[Link] we wake up a thread that has been put to sleep by using
[Link]() method?
[Link] are the two ways to check if a Thread has been interrupted?
[Link] can we make sure that Parent thread waits for termination of
Child thread?
[Link] will you handle InterruptedException in Java?
[Link] intrinsic lock is acquired by a synchronized method in Java?
[Link] we mark a constructor as synchronized in Java?
[Link] we use primitive values for intrinsic locks?
[Link] we have re-entrant property in intrinsic locks?
[Link] is an atomic operation?
[Link] we consider the statement i++ as an atomic operation in Java?
[Link] are the Atomic operations in Java?
[Link] you check if following code is thread-safe?
[Link] are the minimum requirements for a Deadlock situation in a
program?
[Link] can we prevent a Deadlock?
311. How can we detect a Deadlock situation?
[Link] is a Livelock?
[Link] is Thread starvation?
[Link] can a synchronized block cause Thread starvation in Java?
[Link] is a Race condition?
[Link] is a Fair lock in multi-threading?
[Link] two methods of Object class can be used to implement a
Producer Consumer scenario?
[Link] JVM determines which thread should wake up on notify()?
[Link] if following code is thread-safe for retrieving an integer value
from a Queue?
[Link] can we check if a thread has a monitor lock on a given object?
[Link] is the use of yield() method in Thread class?
[Link] is an important point to consider while passing an object from
one thread to another thread?
[Link] are the rules for creating Immutable Objects?
[Link] is the use of ThreadLocal class?
[Link] are the scenarios suitable for using ThreadLocal class?
[Link] will you improve the performance of an application by multithreading?
[Link] is scalability in a Software program?
[Link] will you calculate the maximum speed up of an application by
using multiple processors?
[Link] is Lock contention in multi-threading?
[Link] are the techniques to reduce Lock contention?
[Link] technique can be used in following code to reduce Lock
contention?
[Link] is Lock splitting technique?
[Link] technique is used in ReadWriteLock class for reducing Lock
contention?
[Link] is Lock striping?
[Link] is a CAS operation?
[Link] Java classes use CAS operation?
[Link] it always possible to improve performance by object pooling in a
multi-threading application?
[Link] can techniques used for performance improvement in a single
thread application may degrade the performance in a multi-threading
application?
[Link] is the relation between Executor and ExecutorService
interface?
[Link] will happen on calling submit() method of an ExecutorService
instance whose queue is already full?
[Link] is a ScheduledExecutorService?
[Link] will you create a Thread pool in Java?
[Link] is the main difference between Runnable and Callable
interface?
[Link] are the uses of Future interface in Java?
[Link] is the difference in concurrency in HashMap and in Hashtable?
[Link] will you create synchronized instance of List or Map Collection?
[Link] is a Semaphore in Java?
[Link] is a CountDownLatch in Java?
[Link] is the difference between CountDownLatch and CyclicBarrier?
[Link] are the scenarios suitable for using Fork/Join framework?
[Link] is the difference between RecursiveTask and RecursiveAction
class?
[Link] Java 8, can we process stream operations with a Thread pool?
[Link] are the scenarios to use parallel stream in Java 8?
[Link] Stack and Heap work in Java multi-threading environment?
[Link] can we take Thread dump in Java?
[Link] parameter can be used to control stack size of a thread in
Java?
[Link] are two threads T1 and T2? How will you ensure that these
threads run in sequence T1, T2 in Java?
Java 8
[Link] are the new features released in Java 8?
[Link] are the main benefits of new features introduced in Java 8?
[Link] is a Lambda expression in Java 8?
[Link] are the three main parts of a Lambda expression in Java?
[Link] is the data type of a Lambda expression?
[Link] is the meaning of following lambda expression?
[Link] did Oracle release a new version of Java like Java 8?
[Link] are the advantages of a lambda expression?
[Link] is a Functional interface in Java 8?
[Link] is a Single Abstract Method (SAM) interface in Java 8?
[Link] can we define a Functional interface in Java 8?
[Link] do we need Functional interface in Java?
[Link] it mandatory to use @FunctionalInterface annotation to define a
Functional interface in Java 8?
[Link] are the differences between Collection and Stream API in Java
8?
[Link] are the main uses of Stream API in Java 8?
[Link] are the differences between Intermediate and Terminal
Operations in Java 8 Streams?
[Link] is a Spliterator in Java 8?
[Link] are the differences between Iterator and Spliterator in Java 8?
[Link] is Type Inference in Java 8?
[Link] Java 7 support Type Inference?
[Link] does Internal Iteration work in Java 8?
[Link] are the main differences between Internal and External
Iterator?
[Link] are the main advantages of Internal Iterator over External
Iterator in Java 8?
[Link] are the applications in which we should use Internal Iteration?
[Link] is the main disadvantage of Internal Iteration over External
Iteration?
[Link] we provide implementation of a method in a Java Interface?
[Link] is a Default Method in an Interface?
[Link] do we need Default method in a Java 8 Interface?
[Link] is the purpose of a Static method in an Interface in Java 8?
[Link] are the core ideas behind the Date/Time API of Java 8?
[Link] are the advantages of new Date and Time API in Java 8 over
old Date API?
[Link] are the main differences between legacy Date/Time API in Java
and Date/Time API of Java 8?
[Link] can we get duration between two dates or time in Java 8?
[Link] is the new method family introduced in Java 8 for processing of
Arrays on multi core machines?
[Link] does Java 8 solve Diamond problem of Multiple Inheritance?
[Link] are the differences between Predicate, Supplier and Consumer
in Java 8?
[Link] is possible to have default method definition in an interface without
marking it with default keyword?
[Link] we create a class that implements two Interfaces with default
methods of same name and signature?
[Link] Java 8 supports Multiple Inheritance?
[Link] case we create a class that extends a base class and implements an
interface. If both base class and interface have a default method with
same name and arguments, then which definition will be picked by JVM?
[Link] we create same method and define it in a class , in its parent class
and in an interface implemented by the class, then definition will be
invoked if we access it using the reference of Interface and the object of
class?
[Link] we access a static method of an interface by using reference of
the interface?
[Link] can you get the name of Parameter in Java by using reflection?
[Link] is Optional in Java 8?
[Link] are the uses of Optional?
[Link] method in Optional provides the fallback mechanism in case of
null value?
[Link] can we get current time by using Date/Time API of Java 8?
[Link] is possible to define a static method in an Interface?
[Link] can we analyze the dependencies in Java classes and packages?
[Link] are the new JVM arguments introduced by Java 8?
[Link] are the popular annotations introduced in Java 8?
[Link] is a StringJoiner in Java 8?
[Link] is the type of a Lambda expression in Java 8?
411. What is the target type of a lambda expression ?
[Link] are the main differences between an interface with default
method and an abstract class in Java 8?
Java Tricky Questions
413 Is there any difference between a = a + b and a += b expressions?
[Link] does the expression 1.0 / 0.0 return? Will there be any
compilation error?
[Link] we use multiple main methods in multiple classes?
[Link] Java allow you to override a private or static method?
[Link] happens when you put a key object in a HashMap that is
already present?
[Link] can you make sure that N threads can access N resources
without deadlock?
[Link] can you determine if JVM is 32-bit or 64-bit from Java
Program?
[Link] is the right data type to represent Money (like Dollar/Pound) in
Java?
[Link] can you do multiple inheritances in Java?
422 Is ++ operation thread-safe in Java?
[Link] can you access a non-static variable from the static context?
[Link] say there is a method that throws NullPointerException in the
superclass. Can we override it with a method that throws
RuntimeException?
[Link] can you mark an array volatile in Java?
[Link] is a thread local variable in Java?
[Link] is the difference between sleep() and wait() methods in Java?
[Link] you create an Immutable object that contains a mutable object?
[Link] can you convert an Array of bytes to String?
[Link] is difference between CyclicBarrier and CountDownLatch
class?
[Link] is the difference between StringBuffer and StringBuilder?
[Link] class contains clone method? Cloneable or Object class?
[Link] will you take thread dump in Java?
[Link] you cast an int variable into a byte variable? What happens if the
value of int is larger than byte?
[Link] Java, can we store a double value in a long variable without explicit
casting?
[Link] will this return 5*0.1 == 0.5? true or false?
[Link] of an int and Integer, which one takes more memory?
[Link] we use String in the switch case statement in Java?
[Link] we use multiple main methods in same class?
[Link] creating an abstract class, is it a good idea to call abstract
methods inside its constructor?
[Link] can you do constructor chaining in Java?
[Link] can we find the memory usage of JVM from Java code?
[Link] is the difference between x == y and [Link](y) expressions in
Java?
444. How can you guarantee that the garbage collection takes place?
[Link] is the relation between [Link]() method and [Link](y)
method of Object class?
[Link] is a compile time constant in Java?
[Link] the difference between fail-fast and fail-safe iterators?
448. You have a character array and a String. Which one is more secure
to store sensitive data (like password, date of birth, etc.)?
[Link] do you use volatile keyword in Java?
[Link] is the difference between poll() and remove() methods of Queue
in Java?
[Link] you catch an exception thrown by another thread in Java?
[Link] do you decide which type of Inner Class – Static or Non-Static to
use in Java?
[Link] are the different types of Classloaders in Java?
[Link] are the situations in which you choose HashSet or TreeSet?
[Link] is the use of method references in Java?
[Link] you think Java Enums are more powerful than integer constants?
[Link] do we use static initializers in Java?
[Link] client is complaining that your code is throwing
NoClassDefFoundError or NoSuchMethodError, even though you are able
to compile your code without error and method exists in your code. What
could be the reason behind this?
[Link] can you check if a String is a number by using regular
expression?
[Link] is the difference between the expressions String s =
"Temporary" and String s = new String("Temporary ")? Which one is
better and more efficient?
[Link] Java, can two equal objects have the different hash code?
[Link] can we print an Array in Java?
463 Is it ok to use random numbers in the implementation of hashcode()
method in Java?
[Link] two types of dependency injections, constructor injection
and setter dependency injection, which one is better?
[Link] is the difference between DOM and SAX parser in Java?
[Link] Enumeration and Iterator, which one has better performance
in Java?
[Link] is the difference between pass by reference and pass by value?
[Link] are the different ways to sort a collection in Java?
[Link] Collection interface doesn’t extend Cloneable and Serializable
interfaces?
[Link] is the difference between a process and a thread in Java?
[Link] are the benefits of using an unordered array over an ordered
array?
[Link] HashSet and TreeSet collections in Java, which one is
better?
[Link] does JVM call the finalize() method?
[Link] would you use Serial Garabage collector or Throughput
Garbage collector in Java?
[Link] Java, if you set an object reference to null, will the Garbage
Collector immediately free the memory held by that object?
[Link] can you make an Object eligible for Garbage collection in Java?
[Link] do you use Exception or Error in Java? What is the difference
between these two?
[Link] is the advantage of PreparedStatement over Statement class in
Java?
[Link] Java, what is the difference between throw and throws keywords?
[Link] happens to the Exception object after the exception handling is
done?
[Link] do you find which client machine is sending request to your
servlet in Java?
[Link] is the difference between a Cookie and a Session object in
Java?
[Link] protocol does Browser and Servlet use to communicate with
each other?
484. What is HTTP Tunneling?
[Link] do we use JSP instead of Servlet in Java?
486 Is empty ‘.java’ file name a valid source file name in Java?
[Link] do you implement Servlet Chaining in Java?
[Link] you instantiate this class?
[Link] Java does not support operator overloading?
[Link] String class is Immutable or Final in Java?
[Link] is the difference between sendRedirect and forward methods?
[Link] do you fix your Serializable class, if it contains a member that is
not serializable?
[Link] is the use of run time polymorphism in Java?
[Link] are the rules of method overloading and method overriding in
Java?
[Link] is the difference between a class and an object in Java?
[Link] we create an abstract class that extends another abstract class?
[Link] do you use Upcasting or Downcasting in Java ?
[Link] is the reason to organize classes and interfaces in a package in
Java?
[Link] is information hiding in Java?
[Link] does Java provide default constructor?
[Link] is the difference between super and this keywords in Java?
[Link] is the advantage of using Unicode characters in Java?
[Link] you override an overloaded method in Java?
[Link] can we change the heap size of a JVM?
[Link] should you define a default constructor in Java?
[Link] will you make an Object Immutable in Java?
[Link] can you prevent SQL Injection in Java Code?
[Link] two methods should be always implemented by HashMap key
Object?
[Link] an Object used as Key in HashMap should be Immutable?
[Link] can we share an object between multiple threads?
511. How can you determine if your program has a deadlock?
JSP
[Link] are the implicit objects in JSP?
[Link] will you extend JSP code?
[Link] will you handle runtime exceptions in JSP?
[Link] will you prevent multiple submits of a page that come by clicking
refresh button multiple times?
[Link] will you implement a thread safe JSP page?
[Link] will you include a static file in a JSP page?
[Link] are the lifecycle methods of a JSP?
[Link] are the advantages of using JSP in web architecture?
[Link] is the advantage of JSP over Javascript?
[Link] is the Lifecycle of JSP?
[Link] is a JSP expression?
[Link] are the different types of directive tags in JSP?
[Link] is session attribute in JSP?
[Link] are the different scopes of a JSP object?
[Link] is pageContext in JSP?
[Link] is the use of jsp:useBean in JSP?
[Link] is difference between include Directive and include Action of
JSP?
[Link] will you use other Java files of your application in JSP code?
[Link] will you use an existing class and extend it to use in the JSP?
[Link] _jspService method starts with _ symbol in JSP?
[Link] do we use tag library in JSP?
[Link] is the different type of tag library groups in JSTL?
[Link] will you pass information from one JSP to another JSP?
[Link] will you call a stored procedure from JSP?
[Link] we override _jspService() method in JSP?
[Link] is a directive in JSP?
[Link] will you implement Session tracking in JSP?
[Link] do you debug code in JSP?
[Link] will you implement error page in JSP?
[Link] will you send XML data from a JSP?
[Link] happens when we request for a JSP page from web browser?
[Link] will you implement Auto Refresh of page in JSP?
[Link] are the important status codes in HTTP?
[Link] is the meaning of Accept attribute in HTTP header?
[Link] is the difference between Expression and Scriptlet in JSP?
[Link] will you delete a Cookie in JSP?
[Link] will you use a Cookie in JSP?
[Link] is the main difference between a Session and Cookie in JSP?
[Link] will you prevent creation of session in JSP?
[Link] is an output comment in JSP?
[Link] will you prevent caching of HTML output by web browser in
JSP?
[Link] will you redirect request to another page in browser in JSP
code?
[Link] is the difference between sendRedirect and forward in a JSP?
[Link] is the use of config implicit object in JSP?
[Link] is the difference between init-param and context-param?
[Link] is the purpose of RequestDispatcher?
[Link] can be read data from a Form in a JSP?
[Link] is a filter in JSP?
[Link] can you upload a large file in JSP?
[Link] which scenario, Container initializes multiple JSP/Servlet objects?
Java Design Patterns
[Link] will you use Strategy Design Pattern in Java?
[Link] is Observer design pattern?
[Link] are the examples of Observer design pattern in JDK?
[Link] Strategy design pattern is different from State design pattern in
Java?
[Link] you explain Decorator design pattern with an example in Java?
[Link] is a good scenario for using Composite design Pattern in Java?
[Link] you used Singleton design pattern in your Java project?
[Link] are the main uses of Singleton design pattern in Java project?
[Link] [Link] is a Singleton in Java?
[Link] is the way to implement a thread-safe Singleton design pattern
in Java?
[Link] are the examples of Singleton design pattern in JDK?
[Link] is Template Method design pattern in Java?
[Link] are the examples of Template method design pattern in JDK?
[Link] you tell some examples of Factory Method design pattern
implementation in Java?
[Link] is the benefit we get by using static factory method to create
object?
[Link] are the examples of Builder design pattern in JDK?
[Link] are the examples of Abstract Factory design pattern in JDK?
[Link] are the examples of Decorator design pattern in JDK?
[Link] are the examples of Proxy design pattern in JDK?
[Link] are the examples of Chain of Responsibility design pattern in
JDK?
[Link] are the main uses of Command design pattern?
[Link] are the examples of Command design pattern in JDK?
[Link] are the examples of Interpreter design pattern in JDK?
[Link] are the examples of Mediator design pattern in JDK?
[Link] are the examples of Strategy design pattern in JDK?
[Link] are the examples of Visitor design pattern in JDK?
[Link] Decorator design pattern is different from Proxy pattern?
[Link] are the different scenarios to use Setter and Constructor based
injection in Dependency Injection (DI) design pattern?
[Link] are the different scenarios for using Proxy design pattern?
[Link] is the main difference between Adapter and Proxy design
pattern?
[Link] will you use Adapter design pattern in Java?
[Link] are the examples of Adapter design pattern in JDK?
[Link] is the difference between Factory and Abstract Factory design
pattern?
[Link] is Open/closed design principle in Software engineering?
[Link] is SOLID design principle?
[Link] is Builder design pattern?
[Link] are the different categories of Design Patterns used in Object
Oriented Design?
[Link] is the design pattern suitable to access elements of a
Collection?
[Link] can we implement Producer Consumer design pattern in Java?
[Link] design pattern is suitable to add new features to an existing
object?
[Link] design pattern can be used when to decouple abstraction from
the implementation?
[Link] is the design pattern used in Android applications?
[Link] can we prevent users from creating more than one instance of
singleton object by using clone() method?
[Link] is the use of Interceptor design pattern?
[Link] are the Architectural patterns that you have used?
[Link] are the popular uses of Façade design pattern?
[Link] is the difference between Builder design pattern and Factory
design pattern?
[Link] is Memento design pattern?
[Link] is an AntiPattern?
611. What is a Data Access Object (DAO) design pattern?
Spring Questions
[Link] is Spring framework?
[Link] are the benefits of Spring framework in software development?
[Link] are the modules in Core Container of Spring framework?
[Link] are the modules in Data Access/Integration layer of Spring
framework?
[Link] are the modules in Web layer of Spring framework?
[Link] is the main use of Core Container module in Spring framework?
[Link] kind of testing can be done in Spring Test Module?
[Link] is the use of BeanFactory in Spring framework?
[Link] is the most popular implementation of BeanFactory in Spring?
[Link] is XMLBeanFactory in Spring framework?
[Link] are the uses of AOP module in Spring framework?
[Link] are the benefits of JDBC abstraction layer module in Spring
framework?
[Link] does Spring support Object Relational Mapping (ORM)
integration?
[Link] does Web module work in Spring framework?
[Link] are the main uses of Spring MVC module?
[Link] is the purpose of Spring configuration file?
[Link] is the purpose of Spring IoC container?
[Link] is the main benefit of Inversion of Control (IOC) principle?
[Link] IOC containers support Eager Instantiation or Lazy loading of
beans?
[Link] are the benefits of ApplicationContext in Spring?
[Link] will you implement ApplicationContext in Spring framework?
[Link] the difference between ApplicationContext and BeanFactory
in Spring?
[Link] ApplicationContext and BeanFactory which one is
preferable to use in Spring?
[Link] are the main components of a typical Spring based application?
[Link] Dependency Injection (DI) concept in Spring framework?
[Link] are the different roles in Dependency Injection (DI)?
[Link] framework provides what kinds of Dependency Injection
mechanism?
[Link] Spring framework, which Dependency Injection is better?
Constructor-based DI or Setter-based DI?
[Link] are the advantages of Dependency Injection (DI)?
[Link] are the disadvantages of Dependency Injection (DI)?
[Link] is a Spring Bean?
[Link] does the definition of a Spring Bean contain?
[Link] are the different ways to provide configuration metadata to a
Spring Container?
[Link] are the different scopes of a Bean supported by Spring?
[Link] will you define the scope of a bean in Spring?
647 Is it safe to assume that a Singleton bean is thread safe in Spring
Framework?
[Link] are the design-patterns used in Spring framework?
[Link] is the lifecycle of a Bean in Spring framework?
[Link] are the two main groups of methods in a Bean’s lifecycle?
[Link] we override main lifecycle methods of a Bean in Spring?
[Link] are Inner beans in Spring?
[Link] can we inject a Java Collection in Spring framework?
[Link] is Bean wiring in Spring?
[Link] is Autowiring in Spring?
[Link] are the different modes of Autowiring supported by Spring?
[Link] are the cases in which Autowiring may not work in Spring
framework?
658 Is it allowed to inject null or empty String values in Spring?
[Link] is a Java-based Configuration in Spring?
[Link] is the purpose of @Configuration annotation?
[Link] is the difference between Full @Configuration and 'lite'
@Beans mode?
[Link] Spring framework, what is Annotation-based container
configuration?
[Link] will you switch on Annotation based wiring in Spring?
[Link] is @Autowired annotation?
[Link] is @Required annotation?
[Link] are the two ways to enable
RequiredAnnotationBeanPostProcessor in Spring?
[Link] is @Qualifier annotation in Spring?
[Link] Spring framework makes JDBC coding easier for developers?
[Link] is the purpose of JdbcTemplate?
[Link] are the benefits of using Spring DAO?
[Link] are the different ways to use Hibernate in Spring?
[Link] types of Object Relational Mapping (ORM) are supported by
Spring?
[Link] will you integrate Spring and Hibernate by using
HibernateDaoSupport?
[Link] are the different types of the Transaction Management
supported by Spring framework?
[Link] are the benefits provided by Spring Framework’s Transaction
Management?
[Link] a choice between declarative and programmatic Transaction
Management, which method will you choose?
[Link] is Aspect Oriented Programming (AOP)
[Link] is an Aspect in Spring?
[Link] Spring AOP, what is the main difference between a Concern and a
Cross cutting concern?
[Link] is a Joinpoint in Spring AOP?
[Link] is an Advice in Spring AOP?
[Link] are the different types of Advice in Spring AOP?
[Link] is a Pointcut in Spring AOP?
[Link] is an Introduction in Spring AOP?
[Link] is a Target object in Spring AOP?
[Link] is a Proxy in Spring AOP?
[Link] are the different types of AutoProxy creators in Spring?
[Link] is Weaving in Spring AOP?
[Link] Spring AOP, Weaving is done at compile time or run time?
[Link] is XML Schema-based Aspect implementation?
[Link] is Annotation-based aspect implementation in Spring AOP?
[Link] does Spring MVC framework work?
[Link] is DispatcherServlet?
[Link] we have more than one DispatcherServlet in Spring MVC?
[Link] is WebApplicationContext in Spring MVC?
[Link] is Controller in Spring MVC framework?
[Link] is @RequestMapping annotation in Spring?
[Link] are the main features of Spring MVC?
[Link] is the difference between a Singleton and Prototype bean in
Spring?
[Link] will you decide which scope- Prototype or Singleton to use for a
bean in Spring?
[Link] is the difference between Setter and Constructor based
Dependency Injection (DI) in Spring framework?
[Link] are the drawbacks of Setter based Dependency Injection (DI) in
Spring?
[Link] are the differences between Dependency Injection (DI) and
Factory Pattern?
[Link] Spring framework, what is the difference between
FileSystemResource and ClassPathResource?
[Link] some popular Spring framework annotations that you use in
your project?
[Link] can you upload a file in Spring MVC Application?
[Link] are the different types of events provided by Spring
framework?
[Link] is the difference between DispatcherServlet and
ContextLoaderListener in Spring?
[Link] will you handle exceptions in Spring MVC Framework?
[Link] are the best practices of Spring Framework?
711. What is Spring Boot?
Hibernate
[Link] is Hibernate framework?
[Link] is an Object Relational Mapping (ORM)?
[Link] is the purpose of Configuration Interface in Hibernate?
[Link] is Object Relational Impedance Mismatch?
[Link] are the main problems of Object Relational Impedance
Mismatch?
[Link] are the key characteristics of Hibernate?
[Link] you tell us about the core interfaces of Hibernate framework?
[Link] will you map the columns of a DB table to the properties of a
Java class in Hibernate?
[Link] Hibernate make it mandatory for a mapping file to have
.[Link] extension?
[Link] are the steps for creating a SessionFactory in Hibernate?
[Link] do we use POJO in Hibernate?
[Link] is Hibernate Query Language (HQL)?
[Link] will you call a stored procedure in Hibernate?
[Link] is Criteria API in Hibernate?
[Link] do we use HibernateTemplate?
[Link] can you see SQL code generated by Hibernate on console?
[Link] are the different types of collections supported by Hibernate?
[Link] is the difference between [Link]() and
[Link]() methods in Hibernate?
[Link] are the advantages of Hibernate framework over JDBC?
[Link] can we get statistics of a SessionFactory in Hibernate?
[Link] is the Transient state of an object in Hibernate?
[Link] is the Detached state of an object in Hibernate?
[Link] is the use of Dirty Checking in Hibernate?
[Link] is the purpose of Callback interface in Hibernate?
[Link] are the different ORM levels in Hibernate?
[Link] are the different ways to configure a Hibernate application?
[Link] is Query Cache in Hibernate?
[Link] are the different types of Association mappings supported by
Hibernate?
[Link] are the different types of Unidirectional Association mappings
in Hibernate?
[Link] is Unit of Work design pattern?
[Link] Hibernate, how can an object go in Detached state?
[Link] will you order the results returned by a Criteria in Hibernate?
[Link] does Example criterion work in Hibernate?
[Link] does Transaction management work in Hibernate?
[Link] can we mark an entity/collection as immutable in Hibernate?
[Link] are the different options to retrieve an object from database in
Hibernate?
[Link] can we auto-generate primary key in Hibernate?
[Link] will you re-attach an object in Detached state in Hibernate?
[Link] is the first level of cache in Hibernate?
[Link] are the different second level caches available in Hibernate?
[Link] is the default transaction factory in Hibernate?
[Link] are the options to disable second level cache in Hibernate?
[Link] are the different fetching strategies in Hibernate?
[Link] is the difference between Immediate fetching and Lazy
collection fetching?
[Link] is ‘Extra lazy fetching’ in Hibernate?
[Link] can we check is a collection is initialized or not under Lazy
Initialization strategy?
[Link] are the different strategies for cache mapping in Hibernate?
[Link] is the difference between a Set and a Bag in Hibernate?
[Link] can we monitor the performance of Hibernate in an application?
[Link] can we check if an Object is in Persistent, Detached or
Transient state in Hibernate?
[Link] is ‘the inverse side of association’ in a mapping?
[Link] is ORM metadata?
[Link] is the difference between load() and get() method in Hibernate?
[Link] should we use get() method or load() method in Hibernate?
[Link] is a derived property in Hibernate?
[Link] can we use Named Query in Hibernate?
[Link] are the two locking strategies in Hibernate?
[Link] is the use of version number in Hibernate?
[Link] is the use of [Link]() method in Hibernate?
[Link] inheritance mapping strategies are supported by Hibernate?
Maven
[Link] is Maven?
[Link] are the main features of Maven?
[Link] areas of a Project can you manage by using Maven?
[Link] are the main advantages of Maven?
[Link] do we say “Maven uses convention over configuration”?
[Link] are the responsibilities of a Build tool like Maven?
[Link] are the differences between Ant and Maven?
[Link] is MOJO in Maven?
[Link] is a Repository in Maven?
[Link] are the different types of repositories in Maven?
[Link] is a local repository in Maven?
[Link] is a central repository in Maven?
[Link] is a Remote repository in Maven?
[Link] we should not store jars in CVS or any other version control
system instead of Maven repository?
[Link] anyone upload JARS or artifacts to Central Repository?
[Link] is a POM?
[Link] is Super POM?
[Link] are the main required elements in POM file?
[Link] are the phases in Build lifecycle in Maven?
[Link] command will you use to package your Maven project?
[Link] is the format of fully qualified artifact name of a Maven
project?
[Link] is an Archetype in Maven?
[Link] is the command in Maven to generate an Archetype?
[Link] are the three main build lifecycles of Maven?
[Link] are the main uses of a Maven plugin?
[Link] will you find the version of a plugin being used?
[Link] are the different types of profile in Maven? Where will you
define these profiles?
[Link] are the different setting files in Maven? Where will you find
these files?
[Link] are the main elements we can find in [Link]?
[Link] will you check the version of Maven in your system?
[Link] will you verify if Maven is installed on Windows?
[Link] is a Maven artifact?
[Link] are the different dependency scopes in Maven?
[Link] can we exclude a dependency in Maven?
[Link] Maven searches for JAR corresponding to a dependency?
[Link] is a transitive dependency in Maven?
[Link] are Excluded dependencies in Maven?
[Link] are Optional dependencies in Maven?
[Link] will you find the class files after compiling a Maven project
successfully?
811. What are the default locations for source, test and build directories in
Maven?
[Link] is the result of jar:jar goal in Maven?
[Link] can we get the debug or error messages from the execution of
Maven?
[Link] is the difference between a Release version and SNAPSHOT
version in Maven?
[Link] will you run test classes in Maven?
[Link] Maven compiles the test classes but doesn't run them?
What could be the reason for it?
[Link] can we skip the running of tests in Maven?
[Link] we create our own directory structure for a project in Maven?
[Link] are the differences between Gradle and Maven?
[Link] is the difference between Inheritance and Multi-module in
Maven?
[Link] is Build portability in Maven?
GIT
[Link] can we see n most recent commits in GIT?
[Link] can we know if a branch is already merged into master in GIT?
[Link] is the purpose of git stash drop?
[Link] is the HEAD in GIT?
[Link] is the most popular branching strategy in GIT?
[Link] is SubGit?
[Link] is the use of git instaweb?
[Link] are git hooks?
[Link] is GIT?
[Link] is a repository in GIT?
[Link] are the main benefits of GIT?
[Link] are the disadvantages of GIT?
[Link] are the main differences between GIT and SVN?
[Link] will you start GIT for your project?
[Link] is git clone in GIT?
[Link] will you create a repository in GIT?
[Link] are the different ways to start work in GIT?
[Link] is written in which language?
[Link] does ‘git pull’ command in GIT do internally?
[Link] does ‘git push’ command in GIT do internally?
[Link] is git stash?
[Link] is the meaning of ‘stage’ in GIT?
844. What is the purpose of git config command?
[Link] can we see the configuration settings of GIT installation?
[Link] will you write a message with commit command in GIT?
[Link] is stored inside a commit object in GIT?
[Link] many heads can you create in a GIT repository?
[Link] do we create branches in GIT?
[Link] are the different kinds of branches that can be created in GIT?
[Link] will you create a new branch in GIT?
[Link] will you add a new feature to the main branch?
[Link] is a pull request in GIT?
[Link] is merge conflict in GIT?
[Link] can we resolve a merge conflict in GIT?
[Link] command will you use to delete a branch?
[Link] command will you use to delete a branch that has unmerged
changes?
[Link] is the alternative command to merging in GIT?
[Link] is Rebasing in GIT?
[Link] is the ‘Golden Rule of Rebasing’ in GIT?
[Link] do we use Interactive Rebasing in place of Auto Rebasing?
[Link] is the command for Rebasing in Git?
[Link] is the main difference between git clone and git remote?
[Link] is GIT version control?
[Link] GUI do you use for working on GIT?
[Link] is the use of git diff command in GIT?
[Link] is git rerere?
[Link] are the three most popular version of git diff command?
[Link] is the use of git status command?
[Link] is the main difference between git diff and git status?
[Link] is the use of git rm command in GIT?
[Link] is the command to apply a stash?
[Link] do we use git log command?
[Link] do we need git add command in GIT?
[Link] do we use git reset command?
[Link] does a commit object contain?
[Link] can we convert git log messages to a different format?
[Link] are the programming languages in which git hooks can be
written?
[Link] is a commit message in GIT?
[Link] GIT protects the code in a repository?
[Link] GIT provides flexibility in version control?
[Link] can we change a commit message in GIT?
[Link] is it advisable to create an additional commit instead of amending
an existing commit?
[Link] is a bare repository in GIT?
[Link] do we put a local repository on GitHub server?
[Link] will you delete a branch in GIT?
[Link] can we set up a Git repository to run code sanity checks and
UAT tests just before a commit?
[Link] can we revert a commit that was pushed earlier and is public
now?
[Link] GIT, how will you compress last n commits into a single commit?
[Link] will you switch from one branch to a new branch in GIT?
[Link] can we clean unwanted files from our working directory in GIT?
[Link] is the purpose of git tag command?
[Link] is cherry-pick in GIT?
[Link] is shortlog in GIT?
[Link] can you find the names of files that were changed in a specific
commit?
[Link] can we attach an automated script to run on the event of a new
commit by push command?
[Link] is the difference between pre-receive, update and post-receive
hooks in GIT?
[Link] we have to store Scripts for GIT hooks within same repository?
[Link] can we determine the commit that is the source of a bug in GIT?
[Link] can we see differences between two commits in GIT?
[Link] are the different ways to identify a commit in GIT?
[Link] we run git branch <branchname>, how does GIT know the
SHA-1 of the last commit?
[Link] are the different types of Tags you can create in GIT?
[Link] can we rename a remote repository?
[Link] people use git checkout and some use git co for checkout. How
is that possible?
[Link] can we see the last commit on each of our branch in GIT?
907 Is origin a special branch in GIT?
[Link] can we configure GIT to not ask for password every time?
[Link] are the four major protocols used by GIT for data transfer?
[Link] is GIT protocol?
911. How can we work on a project where we do not have push access?
[Link] is git grep?
[Link] can your reorder commits in GIT?
[Link] will you split a commit into multiple commits?
[Link] is filter-branch in GIT?
[Link] are the three main trees maintained by GIT?
[Link] are the three main steps of working GIT?
[Link] are ours and theirs merge options in GIT?
[Link] can we ignore merge conflicts due to Whitespace?
[Link] is git blame?
[Link] is a submodule in GIT?
AWS
[Link] do you know about AWS Region?
[Link] are the important components of IAM?
[Link] are the important points about AWS IAM?
[Link] are the important features of Amazon S3?
[Link] is the scale of durability in Amazon S3?
[Link] are the Consistency levels supported by Amazon S3?
[Link] are the different tiers in Amazon S3 storage?
[Link] will you upload a file greater than 100 megabytes in Amazon S3?
[Link] happens to an Object when we delete it from Amazon S3?
[Link] is the use of Amazon Glacier?
[Link] we disable versioning on a version-enabled bucket in Amazon S3?
[Link] are the use cases of Cross Region Replication Amazon S3?
[Link] we do Cross Region replication in Amazon S3 without enabling
versioning on a bucket?
[Link] are the different types of actions in Object Lifecycle
Management in Amazon S3?
[Link] do we get higher performance in our application by using
Amazon CloudFront?
[Link] is the mechanism behind Regional Edge Cache in Amazon
CloudFront?
[Link] are the benefits of Streaming content?
[Link] is Lambda@Edge in AWS?
[Link] are the different types of events triggered by Amazon
CloudFront?
[Link] is Geo Targeting in Amazon CloudFront?
[Link] are the main features of Amazon CloudFront?
[Link] are the security mechanisms available in Amazon S3?
Cloud Computing
[Link] are the benefits of Cloud Computing?
[Link] is On-demand computing in Cloud Computing?
[Link] are the different layers of Cloud computing?
[Link] resources are provided by Infrastructure as a Service (IAAS)
provider?
[Link] is the benefit of Platform as a Service?
[Link] are the main advantages of PaaS?
[Link] is the main disadvantage of PaaS?
[Link] are the different deployment models in Cloud computing?
[Link] is the difference between Scalability and Elasticity?
[Link] is Software as a Service?
[Link] are the different types of Datacenters in Cloud computing?
[Link] the various modes of Software as a Service (SaaS) cloud
environment?
[Link] are the important things to care about in Security in a cloud
environment?
[Link] do we use API in cloud computing environment?
[Link] are the different areas of Security Management in cloud?
[Link] are the main cost factors of cloud based data center?
[Link] can we measure the cloud-based services?
[Link] a traditional datacenter is different from a cloud environment?
[Link] will you optimize availability of your application in a Cloud
environment?
[Link] are the requirements for implementing IaaS strategy in Cloud?
DOCKER
[Link] is Docker?
[Link] is the difference between Docker image and Docker container?
[Link] will you remove an image from Docker?
[Link] is a Docker container different from a hypervisor?
[Link] we write compose file in json file instead of yaml?
[Link] we run multiple apps on one server with Docker?
[Link] are the common use cases of Docker?
[Link] are the main features of Docker-compose?
[Link] is the most popular use of Docker?
[Link] is the role of open source development in the popularity of
Docker?
UNIX Shell
[Link] will you remove all files in current directory? Including the files
that are two levels down in a sub-directory.
[Link] is the difference between the –v and –x options in Bash shell
scripts?
[Link] is a Filter in Unix command?
[Link] is Kernel in Unix operating system?
[Link] is a Shell in Unix OS?
[Link] are the different shells in Unix that you know about?
[Link] is the first character of the output in ls –l command ?
[Link] is the difference between Multi-tasking and Multi-user
environment?
[Link] is Command Substitution in Unix?
[Link] is an Inode in Unix?
[Link] is the difference between absolute path and relative path in
Unix file system?
[Link] are the main responsibilities of a Unix Shell?
[Link] is a Shell variable?
Microservices
[Link] is a Microservice?
[Link] are the benefits of Microservices architecture?
[Link] is the role of architect in Microservices architecture?
[Link] is the advantage of Microservices architecture over Service
Oriented Architecture (SOA)?
991 Is it a good idea to provide a Tailored Service Template for
Microservices development in an organization?
[Link] are the disadvantages of using Shared libraries approach to
decompose a monolith application?
[Link] are the characteristics of a Good Microservice?
[Link] is Bounded Context?
[Link] are the points to remember during integration of
Microservices?
996 Is it a good idea for Microservices to share a common database?
[Link] is the preferred type of communication between Microservices?
Synchronous or Asynchronous?
[Link] is the difference between Orchestration and Choreography in
Microservices architecture?
[Link] are the issues in using REST over HTTP for Microservices?
1000. Can we create Microservices as State Machines?

You might also like