Interview Questions and Answers for 'A' | Search 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

   



Interview Questions and Answers - Order By Newest

   next 30
 Q2641. Somebody changed the permissions on a S3 bucket, Which Aws service can help locate the user who performed the action ?Amazon Web Services (AWS)
Ans. CloudTrail

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

   Like         Discuss         Correct / Improve     aws cloudtrail  aws iam  amazon iam


 Q2642. What is a base class ? Is Abstract class and Base class the same thing ?Core Java
Ans. Base Class is a relative term. For example - Class Vehicle is a Base class of Class Car. Even though Base class is derived in this case , there is no restriction on instantiation of Vehicle class.

Abstract Class is a class that is meant only to be a Base Class and not allowed to be instantiated.

Abstract Class is a Base Class that isn't allowed to be instantiated and is only meant for carrying definition to derived class and help participate in runtime polymorphism.

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

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q2643. What is the relationship between Base Class and Abstract Class ?Core Java
Ans. Abstract Class is a class that's only allowed to be a Base class for it's usage. It can never be instantiated on it's own.

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

   Like         Discuss         Correct / Improve     base class  abstract class      basic


 Q2644. Can an abstract class be a derived class ?Core Java
Ans. Yes, an abstract class can extend another class.

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

   Like         Discuss         Correct / Improve     abstract class


 Q2645. Can a method return more than one value at a time in Java ?Core Java
Ans. object / native type returned can only be one but an object can comprise of a array , collection or a group of different value types.

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

   Like         Discuss         Correct / Improve     java methods


 Q2646. What is the default size of list ? How it is growable ?Core Java
Ans. Default size is 10.
Regard how size will increase.

Inside add() method there is one method called ensureCapacity() which will check list has enough size available.

This ensureCapacity() method if found size of list need to increase then it will call grow() method which will create new list of extra size and copy existing list data to new one and return.

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

   Like         Discuss         Correct / Improve     list  default size of list     Asked in 1 Companies


 Q2647. Are you using Auto Scaling for your EC2 instances ? How have you configured Auto scaling policy ?Amazon Web Services (AWS)
Ans. yes, you can create auto scaling policy to set max and min no of instance.

 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  aws elb  amazon elb


 Q2648. What are different types of EC2 Placement Groups in AWS ? What is the difference between them ?Amazon Web Services (AWS)
Ans. Clustered and Spread

All instances in Clustered group is in same availability zone and whereas instances in spread could be in different az or regions.

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

   Like         Discuss         Correct / Improve     aws placement group


 Q2649. Can we use all EC2 instance types in placement group ?Amazon Web Services (AWS)
Ans. No, only the following type are allowed

Compute Optimized
GPU
Memory Optimized
Storage Optimized

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

   Like         Discuss         Correct / Improve     aws placement group


 Q2650. Can we merge placement groups ?Amazon Web Services (AWS)
Ans. No

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

   Like         Discuss         Correct / Improve     aws placement group


 Q2651. Can we move an existing instance to a placement group ?Amazon Web Services (AWS)
Ans. No but we can create an AMI and then launch a new instance in placement group.

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

   Like         Discuss         Correct / Improve     aws placement group


 Q2652. Difference between Containerization and Serverless ? Infrastructure
Ans. Following are key differences between containers and serverless:

Supported host environments: Containers can run on any modern Linux server, as well as certain versions of Windows. In contrast, serverless runs on specific host platforms, most of which are based in the public cloud (like AWS Lambda or Azure Functions).

Self-servicing ability. For the reasons just noted, in most cases, serverless functions require you to use a public cloud. (There are on-premises serverless frameworks, like Fn, but these are not yet widely used.) With containers, you can set up your own on-premises host environment, or use a public cloud service like ECS.

Cost. Because serverless environments are hosted in the cloud, you have to pay to use them. In contrast, you can set up a container environment yourself using open source code for free (although you’ll still have management costs, of course).

Supported languages. You can containerize an application written in any type of language as long as the host server supports the language. Serverless frameworks are different; they support a limited number of languages. The details of supported serverless language vary from serverless platform to platform.

Statefulness. Most serverless platforms are designed to support stateless workloads. (Some serverless providers offer limited support for stateful services; cf. Durable Functions on Azure.) Although you can connect to external storage services (like S3 on AWS) from within serverless platforms, the functions themselves cannot be stateful. Containers present their own persistent storage challenges, but creating stateful containerized apps is certainly possible.

Availability. Serverless functions are designed to run for a short period—usually, a few hundred seconds—before they shut down. Containers can run for as long as you need.

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

   Like         Discuss         Correct / Improve     Amazon Web Service (AWS)  serverless  containers  production support


 Q2653. What are the factors on which Lambda usage is priced ?Amazon Web Services (AWS)
Ans. No of requests, computation duration, assigned RAM

 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


 Q2654. What are inline functions ? Do we have inline functions in Java ?Core Java
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.

In Java, the optimizations are usually done at the runtime or JVM level. At runtime, the JVM perform some analysis to determine which methods to inline. Java compiler would never inline any method and there is no way in java for the developer to explicitly define inlining of methods as it's take intrinsically care of during runtime only.

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

   Like         Discuss         Correct / Improve     inline functions  inline methods


 Q2655. What are inline functions ?Programming Language
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


 Q2656. Can we associate a single EBS volume with multiple EC2 instances ?Amazon Web Services (AWS)
Ans. No

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

   Like         Discuss         Correct / Improve     aws ebs volume  aws ec2  aws computing  amazon cloud computing  amazon ec2


 Q2657. Can we attach single volume to multiple Ec2 instances ?Amazon Web Services (AWS)
Ans. Yes EFS volumes but not EBS

 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


 Q2658. What is the use case of having Code Commit trigger within AWS Lambda ?Amazon Web Services (AWS)
Ans. If we would like a program to be executed if someone commits code to the repository.

 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


 Q2659. Why serverless is called serverless if there are actually servers serving the requests ?Infrastructure
Ans. Because Vendors need not worry about provisioning , managing and maintaining the servers and it's intrinsically taken care of by AWS.

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

   Like         Discuss         Correct / Improve     Amazon Web Services (AWS)  aws serverless  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda


 Q2660. What is Amazon Polly ?Amazon Web Services (AWS)
Ans. It's a service to convert text to speech.

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

   Like         Discuss         Correct / Improve     aws polly


 Q2661. Why it takes longer to create first volume snapshot but subsequent snapshots are faster ?Amazon Web Services (AWS)
Ans. Because AWS stores subsequent snapshots as only incremental information.

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

   Like         Discuss         Correct / Improve     aws ebs snapshot


 Q2662. Can we delete a snapshot of EBS that is used as the root device of a registered AMI ?Amazon Web Services (AWS)
Ans. No, We need to de register it first.

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

   Like         Discuss         Correct / Improve     aws ebs snapshot  aws ebs volume snapshot  aws ami  amazon ami


 Q2663. What is the use case of AWS Placement Group ?Amazon Web Services (AWS)
Ans. Computing that would require high network throughput and low latency within a single availability zone.

 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 placement group  aws placement group


 Q2664. What is the DNS port no ?Networking
Ans. 53

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

   Like         Discuss         Correct / Improve     Amazon Web Services (AWS)  DNS


 Q2665. How does Route53 support naked domain names ?Amazon Web Services (AWS)
Ans. Through Aliasis

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

   Like         Discuss         Correct / Improve     aws route53


 Q2666. Difference between Route53 aliasis and cname ?Amazon Web Services (AWS)
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


 Q2667. What are the advantages of using Aliasis over Cname in Route53 ?Amazon Web Services (AWS)
Ans. 1. Supports naked domain names
2. Any change in ELB IP is automatically updated in Route53

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

   Like         Discuss         Correct / Improve     aws route53


 Q2668. What is the default limit of domain supported by Route 53 ?Amazon Web Services (AWS)
Ans. 50

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

   Like         Discuss         Correct / Improve     aws route53


 Q2669. Difference between multi AZ RDS and Read replicas ?Amazon Web Services (AWS)
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


 Q2670. What is the limit of read replicas per database ?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 rds  aws database  amazon cloud database  aws rds  aws database  amazon cloud database read replica


previous 30   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: