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. |
|
| ||||
Interview Questions and Answers - Order By Rating | ||||
| ||||
This question was recently asked at 'Tata Consultancy (TCS)'.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  hibernate versioning Asked in 1 Companies | ||||
| ||||
This question was recently asked at 'idealake information technologies'.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   Asked in 1 Companies | ||||
| ||||
Ans. Use Comparable or Comparator interface | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  sql query Asked in 1 Companies | ||||
| ||||
Ans. No HashMap isn't synchronized. ConcurrentHashMap and Hashtable are synchronized. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  hashmap  synchronization | ||||
| ||||
This question was recently asked at 'Tavant Technology'.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   Asked in 1 Companies | ||||
| ||||
Ans. Google OAuth can be used when we want to grant the access of our google credentials to the service provider ( most likely a cloud-based mobile application) by using the option ' Login via Google' | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  open authentication Asked in 1 Companies | ||||
| ||||
Ans. All threads share a common heap. Each thread has a private stack, which it can quickly add and remove items from. This makes stack based memory fast, but if you use too much stack memory, as occurs in infinite recursion, you will get a stack overflow. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  memory management  heap memory Asked in 1 Companies | ||||
| ||||
Ans. CustomArrayList myarrayList = new CustomArrayList(); myarrayList.add("Value 1"); myarrayList.add("Value 2"); myarrayList.add("Value 3"); for (String string : myarrayList) { System.out.println(string); } package sample.utils; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class CustomArrayList implements Iterable { private ArrayList mylist = new ArrayList(); public void add(T t) { this.mylist.add(t); } @Override public Iterator iterator() { return new CustomIterator(mylist); } class CustomIterator implements Iterator { private int indexPosition = 0; private List internalList; public CustomIterator(List internalList) { this.internalList = internalList; } @Override public boolean hasNext() { if (internalList.size() >= indexPosition 1) { return true; } return false; } @Override public E next() { E val = internalList.get(indexPosition); indexPosition ; return val; } } } | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  iterator Asked in 1 Companies | ||||
| ||||
This question was recently asked at 'IBM India'.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  queue  stack Asked in 1 Companies | ||||
| ||||
Ans. 1 , We can do self join | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  sql join Asked in 1 Companies | ||||
| ||||
Ans. No. When we declare a method static, it means that "this belongs to class as whole and not particular instance". The whole purpose of constructor is to initialize a object and hence there is no sense having static constructor. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  constructor  static  static constructor Asked in 1 Companies | ||||
| ||||
Ans. No | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws subset  aws internet gateway | ||||
| ||||
Ans. No | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws dynamodb  aws nosql database  amazon cloud nosql database | ||||
| ||||
This question was recently asked at 'Thomson reuters'.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   Asked in 1 Companies | ||||
| ||||
This question was recently asked at 'Overstock.com'.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  data structure  algorithm Asked in 1 Companies | ||||
| ||||
Ans. No | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws nat instance | ||||
| ||||
Ans. High bandwidth and availability in NAT Gateway NAT Gateway is completely managed by AWS NAT Gateway is auto scalable NAT Instance is just like EC2 instance and hence backed by security group NAT Instance can be used as bastion host whereas NAT Gateway cannot be. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws nat instance  aws nat gateway | ||||
| ||||
Ans. It needs to be done for NAT Instances , not NAT gateway. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws nat gateway  aws vpc | ||||
| ||||
Ans. Source / destination check means that the instance should wither be a source or end destination as a security check. The purpose of NAT Instance is to provide a gateway for internet access and hence this needs to be unchecked. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws nat gateway  aws vpc | ||||
| ||||
Ans. Select * from table1 t1Left outer join table2 t2 on t1.tid = t2.id | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  sql query  database  outer joins Asked in 2 Companies | ||||
| ||||
Ans. If instances in private subnet need to access internet without exposing the IP address to outside world , we use Nat gateway or nat instance. So there is a direct outbound traffic but not direct inbound traffic. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws ec2  aws computing  amazon cloud computing  amazon ec2  nat instances | ||||
| ||||
Ans. Compute Node Hours Backup Data Transfer | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws data warehouse  aws database  aws redshift | ||||
| ||||
Ans. Fast reads Much more reads than writes | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws dynamodb  aws nosql database  amazon cloud nosql database | ||||
| ||||
Ans. 5 | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws rds  aws database  amazon cloud database  aws rds  aws database  amazon cloud database read replica | ||||
| ||||
Ans. Multi AZ RDS is for disaster recovery and failover whereas Read replicas are for scaling. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws rds  aws database  amazon cloud database multi az  aws rds  aws database  amazon cloud database read replica | ||||
| ||||
Ans. Automated Backups are deleted automatically whereas Snapshots are preserved. Upon terminating RDS instance , AWS gives a warning about that and requests to create a final snapshot before terminating the instance. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws rds  aws database  amazon cloud database | ||||
| ||||
Ans. Cname doesn't support naked domain names whereas aliasis does. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws route53 Asked in 3 Companies | ||||
| ||||
Ans. Inline functions , just like C++ Macros is an optimized technique used by compiler to reduce the execution time. If the function is working on pre identified values ( which aren't resolved at runtime ), the function can execute the method and evaluate the outcome at compile time only instead of making a function call at runtime. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  inline functions  inline methods  C++ Asked in 1 Companies | ||||
| ||||
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 | ||||
| ||||
Ans. CloudWatch is for monitoring resources whereas CloudTrail is for auditing activity. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  aws cloudwatch  amazon cloudwatch  aws cloudtrail  aws cloudwatch  amazon cloudwatch vs aws cloudtrail | ||||