[go: up one dir, main page]

0% found this document useful (0 votes)
15 views4 pages

Questions

Uploaded by

Shripriya Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Questions

Uploaded by

Shripriya Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Java 11 features (removals)


2. Aws services
3. Aspect oriented programming
4. How to create custom exceptions
5. What are functional interfaces
6. Streamapi
7. Intermedie vs terminal operations in java
8. Default n static methods in interfaces
9. Optional class
10. Java 8 features
11. Can garbage collection be forced
12. Default methods]
13. What is functional programming, how do we implement in java
14. Monolithic vs microservices
15. Primary vs qualifier
16. Stereotype annotation
17. Inversion of control
18. What are ways to create bean
19. How can we inject dependencies
20. What is we don’t use primary or qualifier then which will be executed
21. Autoscanning
22. Advantages of springboot
23. What is jpa
24. What factories are there in jpa
25. How do microservices communicate with each other
26. Synchronous vs asynchronous communication
27. Acid properties, what is atomicity
28. Solid principles
29. Microservice design pattern, saga pattern
30. Query optimization, how it reduces cost
31. Distributed logging
32. Kafka
33. Use of indexing
34. Database partition
35. Physical database modelling
36. join
37. java design patterns
38. swagger, how can we use swagger
39. what are different status codes
40. idempotent methods
41. find max length of subarray, sorting maps usin comparator,
42. java 8, springboot autowired, qualifier, microservices inter coommucnataion, exception handling
code output, map filter, to map, collectors, lambda expression, why functional interface has only
one method
43.
44. 2nd round: solid principles, open for extension principle, filter aND MAP TO SOLVE , exception,
transaction mgmt, propagations, parent method called child, child has some issues , will parent
method work ? REST Api, opitinal path avriables, request param, get put delete post, sql query,
store procedures, multithreading
45.
46. aware interfaces, bean lifecycel spring, different architectures for microserrvices, saga pattern,
java8 coding comparator, print odd even nos using executor service
47. Java 11-Specific Questions:
48. What are some of the new features introduced in Java 11? How do they differ from Java 8?
49. Follow-up: How would you use the new var keyword in lambda expressions?
50. Can you explain how the new HTTP Client API works in Java 11?
51. Follow-up: How does it compare to using third-party libraries like Apache HttpClient?
52. What is the benefit of running single-file source code programs in Java 11, and how does it
work?
53. What are some deprecated or removed features in Java 11? How do these changes affect
existing Java 8 codebases?
54. Explain the purpose and use cases of the Z Garbage Collector introduced in Java 11.
55. Follow-up: When would you use ZGC over the default Garbage Collector?
56. What changes were made to the String API in Java 11?
57. Follow-up: Can you give examples of new methods such as strip(), repeat(), or lines()?
58. How has Java 11 enhanced support for TLS? What are some key benefits of TLS 1.3?
59. What is the Epsilon garbage collector, and why might a developer use it?
60. Java General Questions:
61. How do you handle exceptions in Java, and what best practices do you follow?
62. Follow-up: How would you use try-with-resources in Java 11?
63. What are the differences between a HashMap and a ConcurrentHashMap in Java?
64. Follow-up: In which scenarios would you use each?
65. Explain the difference between Optional in Java and using null to represent missing values.
66. What are the key differences between multi-threading and concurrency in Java? How would you
implement a thread-safe design?
67. Can you explain the working of the CompletableFuture API in Java? How does it improve oMM
Future objects?
68. AWS-Related Questions:
69. What are AWS Lambda functions, and how would you integrate them with a Java-based
backend?
70. Follow-up: What are the benefits and limitations of using AWS Lambda with Java?
71. How do you deploy Java applications on AWS Elastic Beanstalk? What are some challenges
you've encountered?
72. Can you describe how you would set up an AWS API Gateway to trigger Java-based Lambda
functions?
73. Explain how you would store and retrieve data from an AWS S3 bucket using the AWS SDK for
Java.
74. Follow-up: How do you ensure security while accessing S3 buckets?
75. What is AWS Elastic Load Balancing (ELB), and how would you integrate it into a Java-based
microservices architecture?
76. Can you explain the differences between Amazon RDS and DynamoDB? When would you
choose one over the other for a Java application?
77. How do you set up continuous integration and deployment (CI/CD) for a Java application using
AWS CodePipeline?
78. Describe how you would configure and use AWS CloudWatch to monitor the performance of a
Java application deployed on AWS.
79. Java + AWS Integration Questions:
80. How would you design a REST API in Java and deploy it using AWS services? Which services
would you use and why?
81. Explain how you would handle logging for a Java application running on AWS Lambda. What
AWS services would you use?
82. Can you describe how you would set up a secure communication channel between a Java
application and AWS services?
83. What are some challenges in deploying and scaling Java applications on AWS, and how have
you addressed them?
84. How do you manage configuration in a Java application deployed across multiple AWS
environments (e.g., dev, staging, production)?
85. Follow-up: Have you used AWS Parameter Store or Secrets Manager for this purpose?
86. These questions cover Java 11 features, AWS services, and the intersection of Java and AWS,
providing a comprehensive evaluation of a candidate’s knowledge in both areas.
87.

88. Feature 89. Java 11 HTTP Client 90. Apache HttpClient

92. Release 93. Java 11 (built-in) 94. External library

96. HTTP/2 Support 97. Native support 98. Requires additional setup

100. Asynchronous 101. Built-in 102. Requires separate


Requests (CompletableFuture) AsyncClient

104. WebSocket 105. 106.


Support Yes No

108. Response 109. Simple body handlers 110. Requires HttpEntity


Handling (String, byte) and utilities

112. Customiza 113. Decent (basic timeouts, 114. Highly


tion proxy) customizable

116. Ease of 117. Simple, modern 118. More complex, but feature-
Use API rich

120. Legacy/ 121. Newer, 122. Mature, large community,


Community growing lots of docs
124. Performa 125. Optimized for non- 126. Efficient but older
nce blocking I/O design

128. Connection Pooling, 129. Lim 130. Extensive


Retries ited options

131.

You might also like