Server - Interview Questions and Answers for 'Server' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Server - Interview Questions and Answers for 'Server' - 55 question(s) found - Order By Newest

next 30
 Q1. Which of the following file is called deployment descriptor ?

a. application.xml
b. project.xml
c. web.xml
d. build.xml
Java EE
Anonymous
Ans. web.xml

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     configuration files   deployment   server   java


 Q2. What are the problems one could face while working with serverless technologies like AWS Lambda ?Amazon Web Services (AWS)2018-01-30 18:05:47

Ans. Warm up time for certain technologies like Java ( JVM Warmup )

Performance

Size of Deployable ( Bigger size packaging should go in S3 )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     serverless technologies  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda     Asked in 1 Companies


 Q3. How does AWS Lambda handle failure during event processing?Amazon Web Services (AWS)2019-01-08 16:14:00

Ans. In AWS Lambda we can run a function in synchronous or asynchronous mode. In synchronous mode, if AWS Lambda function fails, then it will just give an exception to the calling application. In asynchronous mode, if AWS Lambda function fails then it will retry the same function at least 3 times.If AWS Lambda is running in response to an event in Amazon DynamoDB or Amazon Kinesis, then the event will be retried till the Lambda function succeeds or the data expires. In DynamoDB or Kinesis, AWS maintains data for at least 24 hours.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda


  Q4. What is JSON ?Json
Anonymous
Ans. JSON is "JavaScript Object Notation", primarily used for client-server or server-server communication. Its a much lighter and readable alternative to XML. JSON is language independent and is easily parse-able in all programming languages.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     json   markup language   client server communication     Asked in 26 Companies      basic        frequent

Try 2 Question(s) Test


 Q5. Which data types are supported by JSON ?Json
Anonymous
Ans. Number
String
Boolean
Array
Object
null

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     json   markup language   client server communication


 Q6. Is tomcat an application or Web server ?Server
Anonymous
Ans. Tomcat is a web server and a Servlet container. It is often used as an application server for web-based applications but does not include the complete suite of capabilities that a Java EE application server would supply.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     tomcat   j2ee   web server   application server   build management


 Q7. Is Apache an application or Web server ?
Anonymous
Ans. Web server.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     apache   web server   j2ee


 Q8. What would you do if you see an error thrown by a lambda function as "Access Denied" while doing something with S3 ?Amazon Web Services (AWS)2018-10-26 11:34:47

Ans. Just like people , AWS resources too have execution roles or permissions. Seems like in such a situation Lambda function may not have sufficient privileges to perform operations on S3. For example - The execution role of Lambda may just have read permissions on S3 and we may be trying to perform PutObject operation.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda


 Q9. Which AWS computing service provides IAAS, PAAS , Containerization and Serverless ?Amazon Web Services (AWS)2019-01-24 07:01:20

Ans. EC2 is IAAS
Elastic Beanstalk is PAAS
EKS is Containerization service
Lambda is Serverless

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IAAS   PAAS    Containerization  Serverless


 Q10. What are the advantages and disadvantages of using Lambda over EC2 ?Amazon Web Services (AWS)2019-01-24 07:04:29

Ans. Advantages -

Much Cheaper
Continuous scaling
Higher level and Serverless

Disadvantages -

Warm up time
Limited flexibility in terms of technologies
Limited control

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda  aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q11. What are the different trigger types in AWS Lambda ?Amazon Web Services (AWS)2019-01-25 10:35:19

Ans. Api Gateway
Alexa
CloudFront
CloudWatch
Code Commit
Kinesis
S3
SNS

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda trigger


 Q12. Example of Observer Design Pattern ?
Anonymous
Ans. Listeners.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   design pattern   listeners   observer design pattern      expert


 Q13. What are LDAP servers used for ?Java EE
Admin
info@buggybread.com
Ans. LDAP servers are typically used in J2EE applications to authenticate and authorise users. LDAP servers are hierarchical and are optimized for read access, so likely to be faster than database in providing read access.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   j2ee   ldap   servers   authentication   authorization   architecture   technical lead   technical architect  production support


 Q14. What doesn Http keep alive header does ?Java EE
Admin
info@buggybread.com
Ans. Http is connection less by default. header informs hosts to keep the connection alive so that the same connection can be reused for multiple communication.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   http   http-alive   client server communication


 Q15. What is used to segregate load between multiple servers ?

a. Load Server
b. Load Manager
c. Load Traversal
d. Load Balancer
Anonymous
Ans. Load Balancer

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     server   server hardware


 Q16. Which of the following is usually not part of EAR file ?

a. Server Configuration files
b. HTML and Media Files
c. Application Configuration files
d. Class files
Anonymous
Ans. Server Configuration files

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     ear   deployment   servers   java


  Q17. Explain Application / Server architecture being used in your project ?

or

Explain your project architecture ?
Admin
info@buggybread.com
Ans. We are using cluster of Web servers and Application servers. Load Balancer is used to manage the load between them. Down the layer we have middleware server and then DB server to access database.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     architecture   production support   java   servers   application support     Asked in 7 Companies        frequent


 Q18. How do you monitor the server resources if inadvertently high traffic is reported ?
Admin
info@buggybread.com
Ans. We use SAR command for that purpose. We also have GUI system monitoring tool to keep real time check of requests, load and memory usage.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     server monitoring   production support   servers   website traffic   system monitoring   sar   application support


 Q19. What is Hot Deployment ?Server2016-07-28 12:22:08

Ans. It is the ability to deploy changes on the fly without need to first build , deploy and then restart. All these functions happens on the fly as soon as the changes are made to the code.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     hot deployment  deployment   container   application server  production support


 Q20. Difference between Hot and Cold Deployment ?Server2016-07-28 12:24:14

Ans. Cold Deployment is a conventional deployment mechanism that follows the multi step process to deploy code changes to the running app i.e Build -> Deploy - Restart.

whereas

Hot Deployment is deployment changes on the fly without need to first build , deploy and then restart. All these functions happens on the fly as soon as the changes are made to the code.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Hot deployment  cold deployment  application server  production support


 Q21. Which Web and Application server is being used by your application ?Server2017-01-16 10:11:16

Ans. We are using Apache 2.3 and Tomcat 5.6

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     web server  application server  server      Basic        frequent


 Q22. What actions you take if there is an issue related to Database server ?Support2017-01-16 10:13:29

Ans. We involve DBA and try to solve it through them. By the time they are solving it , we keep the stake holders informed regarding the progress.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     database  database server  production support


 Q23. How to enable Cross Site scripting protection in WCS ?IBM WCS2017-02-02 14:45:43

Ans. By specifying XSiteScriptingProtection within wc-server.xml. Prohibited characters and attributes are specified within XSiteScriptingProtection to protect the application from any XSS attach.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Cross site scripting  XSS attack  XSS  XSiteScriptingProtection  wc-server.xml


 Q24. What is a sandbox ?Server2017-04-26 11:42:49

Ans. A sandbox is a testing environment that isolates untested code changes and outright experimentation from the production environment or repository.

It's an environment that's usually reserved for integration testing with external clients and modules with mock code so as to enable some sort of integration testing before the actual project is deployed.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     server  sandbox


 Q25. Difference between Load Balancing and Failover Clustering ?Server2017-06-07 07:31:01

Ans. Load Balancing is a provision to improve performance by reducing load on a single machine / server. Traffic or load is distributed among different machines and hence resulting in better performance / response time by leveraging more resources.

Failover is a provision to achieve better availability by switching to a backup server in case of failure.

Load Balancing aims as improving performance whereas failover aims at improving availability.

We can achieve both together by using a Load Balancing system which will isolate an instance in case of it's failure.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     load balancing  failover  load balancing vs failover  production support


 Q26. What do you understand by "Scaling Trigger" ?Server2017-06-16 08:23:20

Ans. It's a configuration for auto scaling environment that specify the attributes / conditions for scaling instances up and down. For example - We may like environment to scale up when the number of requests / sec increases a particular threshold and scale down when it decreases below a threshold.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     AWS  Amazon AWS  Amazon EC2  Elastic Beanstalk  Auto Scaling  Scaling Trigger  production support


 Q27. What is the difference between "Manual Scaling" and "Auto Scaling" ? Server2017-06-16 09:01:32

Ans. Manual scaling is the process of scaling instances up and down in a an enviornment manually by observing the scaling trigger whereas Auto scaling is the process wherein a Trigger condition specified as a scaling trigger will trigger scaling up and down of instances.

for example - If an organization has a policy of scaling up if requests / sec / instance exceeds 10000, Operations team will have to manually monitor the metric and they can request scaling up and down as the need arise. Manual scaling offers flexibility as team can scale on the basis of combination of factors and can take decision on flyby requires continuous monitoring.

The same trigger can be fed as triggering policy to the environment and can be taken care by the system. This requires availability of such triggering policy within the environment configuration but as it's automatically handled, requires no supervision.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Scaling  manual scaling   auto scaling   manual vs auto scaling  production support


 Q28. How to configure Tomcat to have number of user restrictions?Server2017-12-26 09:58:12

 This question was recently asked at 'Accolite'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     omca     Asked in 1 Companies


 Q29. What are the reasons to choose between reserved and on demand instances ?Server2018-01-11 10:54:30

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws  aws ec2  aws computing  amazon cloud computing  amazon ec2  production support


 Q30. What are the benefits of cloud computing ?Server2018-01-11 10:55:04

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     production support


next 30

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: