Interview Questions and Answers for 'Amazon' | 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
 Q61. What happens to backups if we delete the RDS instance ?Amazon Web Services (AWS)
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


 Q62. Describe best practices with respect to AWS security groups ?Amazon Web Services (AWS)
Ans. Configure it while creating EC2 instance only

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

   Like         Discuss         Correct / Improve     aws security groups     Asked in 1 Companies


 Q63. How would you secure EC2, Volume and Snapshots in Cloud ? Amazon Web Services (AWS)
Ans. Adding more security group, it works like a firewall

 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 ebs volume snapshot     Asked in 1 Companies


 Q64. What is mounting in AWS ?Amazon Web Services (AWS)
Ans. Attaching Volumes ( EBS / EFS ) on AWS Computing ( EC2, EKS )

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

   Like         Discuss         Correct / Improve     aws ebs  aws efs  aws ec2  aws computing  amazon cloud computing  amazon ec2  aws eks


 Q65. Can we have internal or private ELB as origin in cloudfront ?Amazon Web Services (AWS)
Ans. No, it should be public as cloudfront doesn't have a way to access private ELB.

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

   Like         Discuss         Correct / Improve     aws elb  amazon elb  aws cloudfront  amazon cloudfront


 Q66. Difference between NAT Instances and NAT GatewayAmazon Web Services (AWS)
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


 Q67. Why would a cloud customer use resources in multiple regions and zones ?Cloud Computing
Ans. 1. Fault Tolerance
2. Better Access by bringing the application closer to the users.

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

   Like         Discuss         Correct / Improve     Google Cloud Computing (GCP)  Amazon Web Services (AWS)  Availability Zones  Regions and Zones  Infrastructure


 Q68. What are system integrators in Cloud Computing?Cloud Computing
 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     Amazon Web Services (AWS)   Google Cloud Platform (GCP)


 Q69. Write a program to print the index of the first non repeated character in a java stringCore Java
Ans. public class BuggyBread1{
public static void main (String args[]) {
   String str = "hheello world";
   char[] charArray = str.toCharArray();
   char selectedChar = 'a';
   for(char char1: charArray){
      if(!str.contains(Character.toString(char1).concat(Character.toString(char1)))){
         selectedChar = char1;
         break;
      }
   }
   System.out.println(str.indexOf(Character.toString(selectedChar)));
}
}

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

   Like         Discuss         Correct / Improve     string  code  coding     Asked in 9 Companies


 Q70. Difference between TCP and UDP ?Networking
Ans. http://www.cyberciti.biz/faq/key-differences-between-tcp-and-udp-protocols/

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

   Like         Discuss         Correct / Improve     java   network programming   architecture   Cloud Computing  Google Cloud Computing (GCP)  Amazon Web Services (AWS)     Asked in 3 Companies


 Q71. How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.Core Java
Ans. package com.string;

import java.util.Scanner;

public class String13 {
public static void main(String[] args) {
System.out.println("Enter Sentence");
Scanner sc=new Scanner(System.in);
String sentence=sc.nextLine();
String[] words=sentence.split(" ");
int count=0;
for (String string : words) {
string.trim();
if(!string.equals("")){
count++;
System.out.println(string " " count);
}
}
}
}

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

   Like         Discuss         Correct / Improve     code  coding     Asked in 1 Companies


Frequently asked in high end product companies.
 Q72. Write code for LRU CacheCore Java
Ans. https://www.geeksforgeeks.org/lru-cache-implementation/

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

   Like         Discuss         Correct / Improve     cache  LRU cache  coding  code     Asked in 10 Companies      intermediate


 Q73. Given array of integers, find first two numbers that adds up to 10.Core Java
 This question was recently asked at 'Amazon'.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     Code  Coding     Asked in 1 Companies


 Q74. Explain bubble sort.Algorithm
Ans. array is traversed from first element to last element. Here current element is compared with next element. If current element is greater than next element it is swapped.

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

   Like         Discuss         Correct / Improve     sorting  bubble sort     Asked in 1 Companies


 Q75. Write code to check if a Binary tree is symmetricalAlgorithm
 This question was recently asked at 'Amazon'.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     binary tree     Asked in 1 Companies


 Q76. Write a program to reverse words of a sentence.Core Java
 This question was recently asked at 'Amazon'.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     code  Coding     Asked in 1 Companies


 Q77. how to get most significant bit from a byte?Core Java
 This question was recently asked at 'Amazon'.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


 Q78. Write a function that returns the depth of a tree.Algorithm
 This question was recently asked at 'Amazon'.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


 Q79. Write code to find the node where two linked lists intersect.Algorithm
 This question was recently asked at 'Amazon'.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


 Q80. How to convert a bst to doubly linked listAlgorithm
 This question was recently asked at 'Amazon'.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


 Q81. Given a string with multiple opening and closing brackets, determine if the string is valid or not ( to see if the string has all closing brackets for each opening bracket ) ?Core Java
 This question was recently asked at 'Amazon'.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     code  coding     Asked in 1 Companies


 Q82. Given a string and index for the opening bracket, find the index of matching closing bracket. Core Java
 This question was recently asked at 'Amazon'.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     matching bracket  stack     Asked in 1 Companies


 Q83. What is AWS or Amazon Web Services ?Amazon Web Services (AWS)
Ans. These are the platforms or set of services provided by Amazon for cloud services , database storage , content delivery and other business applications and solutions.

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

   Like         Discuss         Correct / Improve     aws  amazon web service


 Q84. What are the different layers of cloud computing ?Infrastructure
Ans. Paas - Platform as a service
Iaas - Infrastructure as a service
Saas - Software as a service

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

   Like         Discuss         Correct / Improve     cloud computing  Amazon Web Service (AWS)  Google Cloud Platform (GCP)


 Q85. What is Amazon EC2 ?Amazon Web Services (AWS)
Ans. Amazon Elastic Compute Cloud or EC2 provides scalable computing capacity in the AWS cloud. It can be used to create Virtual Environments , storage and configure. EC2 enables to upgrade or downgrade infrastructure according to the rules defined ( with fluctuation in latency, traffic etc )

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

   Like         Discuss         Correct / Improve     aws  aws ec2  aws computing  amazon cloud computing  amazon ec2  Elastic Compute Cloud  Amazon Elastic Compute Cloud     Asked in 2 Companies


 Q86. What is the difference between Elastic Compute Cloud and Elastic Beanstalk ?Amazon Web Services (AWS)
Ans. EC2 is Amazon computing service whereas Elastic Beanstalk is the AWS service for deploying and managing web applications.

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

   Like         Discuss         Correct / Improve     Elastic Compute Cloud   EC2   Elastic Beanstalk


 Q87. How do you check logs for your application in AWS ?Amazon Web Services (AWS)
Ans. We can do it by either going to Elastic Beanstalk -> Respective instance -> Logs

or using CloudWatch -> Logs -> Respective Log Group

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

   Like         Discuss         Correct / Improve     aws logs  cloudwatch logs  elastic beanstalk


 Q88. What is AWS CloudWatch ?Amazon Web Services (AWS)
Ans. Amazon CloudWatch is a monitoring service for AWS cloud resources like Beanstalk and DB instances. We can use CloudWatch to monitor the state of resources, collect metrices, set alarms and appropriate response to the alarm state.

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

   Like         Discuss         Correct / Improve     aws cloudwatch  amazon cloudwatch  aws


 Q89. What is a shard in Kinesis stream ?Amazon Web Services (AWS)
Ans. A shard is a uniquely identified group of data records in a stream or we can say that Shard is a partition in Kinesis stream. A shard supports a fixed bandwidth i.e fixed number of messages per second. The total capacity of the stream is the sum of the capacities of its shards. If the data rate changes, we can allocate / deallocate more shards to accommodate that.

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

   Like         Discuss         Correct / Improve     Amazon AWS  AWS  Amazon Kinesis Stream  shard  shard in amazon kinesis


 Q90. What is the relationship between shard and partition key in kinesis stream ?Amazon Web Services (AWS)
Ans. A partition key is used to group data by shard within a stream. A partition key identifies which shard the message belong to.

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

   Like         Discuss         Correct / Improve     Amazon AWS  AWS  Amazon Kinesis Stream  shard  shard in amazon kinesis   partition key in amazon kinesis   shard and partition key


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: