Interview Questions and Answers - Order By Rating 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 groupAns. No Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws placement groupAns. 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 Q424. 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 Q425. 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 Q426. 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 Q427. 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 Q428. Difference between Base Class, Derived Class , Abstract Class and Concrete Class ? Core Java
Ans. Base Class is a relative term used to signify the Parent class in Parent - Child or Base - derived relationship.
Derived Class is a relative term used to signify the Child class in Parent - Child or Base - derived relationship.
Abstract Class is a class that is not allowed to be instantiated and hence can serve only a base class for it's usage.
Concrete Class is the class which is supposed to be instantiated and hence provide definition for all implementing interface methods and extending abstract methods. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Base Class   Derived Class   Abstract Class   Concrete Class Q429. 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 Q430. 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 Q431. 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 Q432. What are the biggest challenges for Java technology in the coming years? Core Java
Ans. JVM - With Cloud and Serverless, this could be a hurdle for it to be preferred technology.
Confusion between OOP and Functional Programming.
Slower speed of innovation due to wider adoption. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q433. 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 iamAns. 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 cloudtrailAns. 5 mins for Standard / Basic
1 min for Detailed / advanced Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudwatch  amazon cloudwatchAns. CPU, Disk, Network, Status Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudwatch  amazon cloudwatchAns. Only Basic not advanced Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudwatch  amazon cloudwatchAns. We can use this check for variety of things -
1. Monitoring the status / Alarms in case it's down
2. Regulating traffic to healthy instances only through Load Balancer 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 ec2Ans. Internal Load balancer is used for services which are for internal consumption only and hence doesn't need to direct Web traffic.
External Load balancers are for regulating web traffic. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws elb  amazon elb Q440. Which of the Load balancer - Application / Network provides advanced features ? What is the use of other Load Balancer than if one provides advanced feature than other ? Amazon Web Services (AWS)
Ans. Application Load Balancer is high level ( Level 7 Networking Layer ) and provides better features and flexibility than Network Load Balancer ( Level 4 Network Layer )
Network Load Balancer is turn provides better performance as it regulates raw traffic. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws elb  amazon elbAns. Application , Network and Classic 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 was recently asked at 'Cognizant (C?TS),Overstock'.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 rds  aws database  amazon cloud database Asked in 2 Companies 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 ami  amazon amiAns. No they need to be unencrypted before an AMI is created. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ami  amazon amiAns. Snapshots are point in time copies of Volume. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ebs  aws ebs volumeAns. Volume -> Snapshot -> AMI Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ami  amazon amiAns. In S3 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws volume snapshotAns. Yes , We can create snapshots with Volumes and then AMIs with Snapshots. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ami  amazon amiAns. Yes, We can do that through snapshots and AMI Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ebs volumeAns. Yes, except Magnetic standard 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