Interview Questions and Answers - Order By Rating Ans. RDS, RedShift and Elastic Cache Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws automated backups  aws RDS  aws Redshift  aws backupAns. AWS Cached - Low Availability than AWS Stored, Lower cost than AWS Stored
AWS Stored - High Availability, High Local Storage Cost
AWS VTL - S3 Used as Back up only.
Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws gateway  aws gateway cached  aws gateway stored  aws gateway vtlAns. S3, EBS and Glacier Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws import / export  aws s3  aws storage  amazon cloud storage  amazon s3  aws ebs  aws glacierAns. No 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. T and M 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 ec2  aws computing  amazon cloud computing  amazon ec2 instance type Q516. What are the factors on which price classes are based on in case of EC2, S3, CloudFront and EBS ? Amazon Web Services (AWS)
Ans. EC2 - Time and Reservation , Instance Type ( Memory , Computation power )
S3 - Accessibility Frequency , Data Transfer , Storage Space
CloudFront - Geography, No of Locations
EBS - IOPS, Access Frequency 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 s3  aws storage  amazon cloud storage  amazon s3  aws cloudfront  amazon cloudfront  aws ebsAns. Saving cost by optimizing content retrieval or upload in certain Geographies. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudfront  amazon cloudfront  aws cloudfront  amazon cloudfront geo targetingAns. Faster upload of Content through Physical device instead of low speed internet connection. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws snowballAns. Saving Cost by either expiring objects or moving to low cost storage. 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 transitioningAns. Disaster Recovery and availability 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 s3  aws storage  amazon cloud storage  amazon s3 cross region replicationAns. Faster availability and uploading of files and content. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws cloudfront  amazon cloudfrontAns. Throughput Optimal HDD and Cold HDD Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ebs  aws root volumeAns. You cannot reserve the time slot and they can be made to use whenever they are available.
AWS can Terminate the EC2 instance on their own even if it's in use. 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 ec2  aws computing  amazon cloud computing  amazon ec2 spotAns. F,I,G,H,T,D,R,M,C,P,X 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 ec2  aws computing  amazon cloud computing  amazon ec2 instance typeAns. No , S3 is an object storage and not a Block Storage. But EBS Volume snapshots are internally stored 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 s3  aws ebs Q526. If you override hashcode to always return true, how a hash based collection will behave? Core Java
Ans. At that bucket, it will form a linked list depending on what equals method evaluates for that object. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  hashcode  collections Asked in 2 Companies Ans. T 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 instance typeAns. R4 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. We can use "Provisioned IOPS SSD" Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws ebs Q530. Which AWS services would you use if you have find a cheapest solution for an analytics application ? Amazon Web Services (AWS)
Ans. Computation
Spot Price Plan
F1 or P3 Instance Type
Cold Hdd (SCI ) EBS Volume
Storage
S3-IA Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws computation  aws ec2  aws computing  amazon cloud computing  amazon ec2Ans. Keeping Low cost for processing , i would choose
Spot Price Plan
F1 or P3 Instance Type
Cold Hdd (SCI ) EBS Volume 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. On Demand
Reserved
Spot
Dedicated Host 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. If there are regulatory requirements, or proprietary license to be used. 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 dedicated hostAns. If the usage is non continuous and have flexible start and End Time. For ex - Analysis , Research , mining etc. 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 spotAns. If the usage is continuous , stable and predictable. 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 reservedAns. If the computation required is Spiky and unpredictable.
If it's first time use.
If the lifespan of the application isn't known. 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. Amazon Glacier is used for storing archieved files / objects and hence well suited for files where retrieval time isn't that important. 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 s3  aws storage  amazon cloud storage  amazon s3 glacier  aws glacierAns. IA stands for infrequently accessed and hence it's suited for files / objects are expected to be accessed infrequently. 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 s3  aws storage  amazon cloud storage  amazon s3-ia Q539. Write a Program to find depth of node binary tree ? Algorithm
Ans. public static int getLevel(Node root, int key) {
int levelOfNode = getLevelUtil(root, key, 1);
return levelOfNode;
}
public static int getLevelUtil(Node root, int key, int level) {
if (root == null) return 0;
if (root.data == key) return level;
int left = getLevelUtil(root.left, key, level 1);
int right = getLevelUtil(root.right, key, level 1);
if (left != 0) return left;
else return right;
} Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Ans. We can use multi part upload API 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