Interview Questions and Answers - Order By Rating Q571. How can you handle JavaScript popup using selenium ? Selenium
Ans. Using javaexecutor Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Selenium  WebDriver Asked in 1 Companies 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 Q573. What are the different types of load balancing options provided by Amazon Elastic Load Balancing (ELB)? Amazon Web Services (AWS)
Ans. Application load balancing
Network load balancing
Classic load balancing Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws elb  amazon elb 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  Ans. Geo Targeting will the users country of origin and pass along with country code to you in the cloudFront viewer country header. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudfront  amazon cloudfront 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 s3  aws storage  amazon cloud storage  amazon s3Ans. Yes 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 s3Ans. Its a storage option provided by AWS which is even cheaper than S3. As the objects are archieved before saving, retrieval time is pretty bad. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws glacierAns. AWS now allows file upto 5GB in S3 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 s3Ans. 99.999999999% 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 s3Ans. 20 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  EC2  aws ec2  aws computing  amazon cloud computing  amazon ecAns. Controller Service Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  AWS Controller Service  aws elb  amazon elb  aws load balancing  elastic load balancerAns. IPv4 and IPv6 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Elastic Load Balance  AWS Load balancing  aws elb  amazon elbAns. Amazon SWF Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q585. Which IAM policy condition key should be used if you want to check whether the request was sent using SSL? Amazon Web Services (AWS)
Ans. AWS: secure transport Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws security  aws iam  amazon iamAns. So that it doesn't overwrite the existing file with the same name and maintain versioning of it. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  AWS S3 Q587. Pascal Triangle Program
Ans. package snippet;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Pascal {
public static void main(String[] args) {
System.out.println(generatePascalTriangle(5));
}
static Map> generatePascalTriangle(int size) {
Map> triangle = new HashMap<>();
triangle.put(0, Arrays.asList(1));
triangle.put(1, Arrays.asList(1, 1));
for (int i = 2; i <= size; i ) {
List coeffListForI = new ArrayList<>();
List coeffListForI_1 = triangle.get(i - 1);
coeffListForI.add(1);
for (int j = 0; j <= coeffListForI_1.size() - 2; j ) {
coeffListForI.add(coeffListForI_1.get(j) coeffListForI_1.get(j 1));
}
coeffListForI.add(1);
triangle.put(i, coeffListForI);
}
return triangle;
}
} Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 8 Companies Ans. Cloud Formation does not have any additional cost but you are charged for the underlying resources it builds. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloud formationAns. 10000 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudfront  amazon cloudfront Q590. What is elasticity in relation to Cloud infrastructure ? Cloud Computing
Ans. The power to scale computing resources up and down easily with minimal friction Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Amazon Web Service (AWS)  Google Cloud Platform (GCP) Q591. With regards to VPC, what is the default maximum number of virtual private gateways allowed per region? Amazon Web Services (AWS)
Ans. 5 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws vpc Q592. A customer has a website which is accessible over the Internet and he wants to secure the communication and decides to implement HTTPS instead of HTTP. He has configured EC2 instance behind an ELB. Where should you configure the SSL certificate? Amazon Web Services (AWS)
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  Ans. Salesforce is the cloud based #1 CRM (Customer Relationship Management) Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q594. Explain different inheritance mapping strategies with JPA / Hibernate. Hibernate
Ans. table per hierarchy
table per concrete class
table per sub class Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  hibernate mapping  hibernate associations Asked in 4 Companies Q595. How to avoid cloning, serialization in the singleton class ? Design
Ans. For Cloning-exception,For deserialization-read.resolve() Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  singleton  cloneable  serializable  serialization  cloning Asked in 1 Companies Q596. Why did you apply for this position? General
This question was recently asked at 'NIC inc'.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 'SQUAD Infotech'.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  stream  inout output  inour stream Asked in 1 Companies Q598. What will happen if there are no collections in java ? Core Java
Ans. Collections in Java is nothing but a library implementation for data structures and algorithm. If it's not available , we might have to include some other library or provide our own implementation. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  collections Q599. What will happen if there are no enums in Java ? Core Java
Ans. Enums in Java is a facility to have objects upfront and use them as constants. Even if such a facility is not available , a workaround could be achieved. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  enum Q600. What will happen if there are no interfaces in Java ? Core Java
Ans. Abstract classes can take care of that to a certain extent. Though they are little heavier than Interfaces but An abstract class with all abstract methods and no instance variables will be able to help with everything that currently an interface does.
The only problem is that a class can only extend one class whereas it can implements multiple interfaces and that is the reason Interfaces were introduced in Java, i.e to get over the problem of multiple inheritance. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  interfaces expert