Interview Question and Answers | Search Coding Interview Questions - 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
 Q2821. Do we need to specify IAM policies in all different regions ?Amazon Web Services (AWS)
Ans. No, They are all global.

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

   Like         Discuss         Correct / Improve     aws iam  amazon iam


 Q2822. Difference between S3 bucket and Folder ?Amazon Web Services (AWS)
Ans. Bucket is the highest level folder whose name should be unique globally.

 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  s3 bucket


 Q2823. What is the maximum size of a file in S3 ?Amazon Web Services (AWS)
Ans. 5 TB

 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


 Q2824. Difference between Object based and Block based storage ?Infrastructure
 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 Service (AWS


 Q2825. Can we host a website in S3 ?Amazon Web Services (AWS)
Ans. Yes a static website can be hosted 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


 Q2826. What are the different ways to secure objects in S3 ?Amazon Web Services (AWS)
Ans. Encryption - In Transit , Client Side , Server Side
Restrictive Access - ACL , Bucket Policy

 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


 Q2827. What status code is returned upon successful upload in S3 ?Amazon Web Services (AWS)
Ans. 200

 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


 Q2828. What is the default visibility of buckets and objects when they are uploaded in S3 ?Amazon Web Services (AWS)
Ans. private

 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


 Q2829. Can we make objects public in a bucket which is not public ?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 s3  aws storage  amazon cloud storage  amazon s3


 Q2830. What is the difference between client side and server side encryption wrt to S3 objects ?Amazon Web Services (AWS)
Ans. Client side encryption is done by the users on their machines whereas server side encryption is done by AWS when objects are uploaded 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


 Q2831. If we have enabled versioning for S3 bucket, Do we need to make all new versions public whenever new versions are uploaded ?Amazon Web Services (AWS)
Ans. Yes, all new versions are private by default even if the original file has been made public.

 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


 Q2832. What is a delete marker wrt to S3 objects ?Amazon Web Services (AWS)
Ans. If the objects / bucket is versioned in S3, Any delete operation on S3 object doesn't physically deletes the object but rather creates a delete marker version. We need to delete the delete marker to physically delete it.

 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


 Q2833. Can we do Cross Region replication in S3 without versioning ?Amazon Web Services (AWS)
Ans. No , Both the source and destination should have versioning enabled.

 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


 Q2834. Does deletion of an object gets replicated too if we have cross region replication enabled on a bucket ?Amazon Web Services (AWS)
Ans. No, delete markers are not replicated.

 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


 Q2835. Can we do replication within the same region i.e into a new bucket within same region ?Amazon Web Services (AWS)
Ans. No. Replication is only allowed across regions. We can manually copy into other bucket though.

 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


 Q2836. Can we do replication to multiple regions and buckets simultaneously ?Amazon Web Services (AWS)
Ans. No, its not allowed currently.

 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


 Q2837. How can we archieve S3 objects after certain interval ?Amazon Web Services (AWS)
Ans. We can use S3 lifecycle management to transition older objects into AWS Glacier.

 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


 Q2838. Can we do Lifecycle management in S3 without versioning enabled ?Amazon Web Services (AWS)
Ans. 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 s3


 Q2839. Can we log all S3 accesses ?Amazon Web Services (AWS)
Ans. 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 s3


 Q2840. What are the different types of encryption provided by AWS S3 ?Amazon Web Services (AWS)
Ans. In Transit ( SSL / TSL )
At Rest Server Encryption ( SSE-S3, SSE-KMS, SSE-C )

 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


 Q2841. Which AWS service can help S3 with distribution data ?Amazon Web Services (AWS)
Ans. AWS CloudFront

 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 cloudfront  amazon cloudfront


 Q2842. Does S3 prices vary by region ?Amazon Web Services (AWS)
Ans. 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 s3


 Q2843. What is CDN ? Which AWS service is used for it ?Amazon Web Services (AWS)
Ans. CDN is Content Delivery Network
AWS CloudFront provides CDN service

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q2844. What is origin and distribution wrt to AWS CloudFront ?Amazon Web Services (AWS)
Ans. Origin is the origin of File or services which CloudFront distributes like S3 in US East-1

Distribution is the combination of Edge locations that helps in the distribution of content / service.

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q2845. What are the different things we can restrict CloudFront access on ?

Amazon Web Services (AWS)
Ans. 1. Protocol ( http, https )
2. Url Pattern ( *, /abc* )
3. Operation ( Put , Post , Delete etc )
4. Geo

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q2846. How can we restrict CloudFront Access ?Amazon Web Services (AWS)
Ans. Price Class
Geo Targeting
Signed Urls , Signed Cookies

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

   Like         Discuss         Correct / Improve     aws cloudfront  amazon cloudfront


 Q2847. What could be done if we try to upload a file larger than the allowed size in S3 ?Amazon Web Services (AWS)
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


 Q2848. write a program for 4 digit otp generation?Design
Ans. import java.util.Random;

public class OTPGenerator {
public static void main(String[] args) {
int otpLength = 4;
String otp = generateOTP(otpLength);
System.out.println("Generated OTP: " otp);
}

private static String generateOTP(int length) {
StringBuilder otp = new StringBuilder();
Random random = new Random();

for (int i = 0; i < length; i ) {
int digit = random.nextInt(10);
otp.append(digit);
}

return otp.toString();
}
}

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

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q2849. 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


 Q2850. What is the use case of aws S3-IA ?Amazon Web Services (AWS)
Ans. 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


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: