Featured Post

Python Logic to Find All Unique Pairs in an Array

Image
 Here's the Python logic for finding all unique pairs in an array that sum up to a target value. Python Unique Pair Problem Write a Python function that finds all unique pairs in an array whose sum equals a target value. Avoid duplicates in the result. For example: Input: arr = [2, 4, 3, 5, 7, 8, 9] , target = 9 Output: [(2, 7), (4, 5)] Hints Use a set for tracking seen numbers. Check for complements efficiently. Example def find_unique_pairs(arr, target):     """     Finds all unique pairs in the array that sum up to the target value.     Parameters:     arr (list): The input array of integers.     target (int): The target sum value.     Returns:     list: A list of unique pairs that sum to the target value.     """     seen = set()     pairs = set()     for num in arr:         complement = target - num         if complement in seen:...

5 AWS Tricky Interview Questions

Below are the top tricky questions asked in AWS interviews


5 Tricky Questions on Amazon Web services for IT developers.


1) How do you store objects in Reduced Redundancy Storage in S3?

  • Specify REDUCED_REDUNDANCY tags in the HTML code.
  • Specify REDUCED_MIRRORING on a PUT request using an optional header.
  • Specify LOW_REPLICATION on a PUT request using an optional header.
  • Specify LOW_REPLICATION on a GET request for objects.
  • Specify REDUCED_REDUNDANCY on a PUT request using an optional header.


2) Which is required to log on to the AWS management console on a mobile device?


  • SSO alias
  • SiteMinder
  • Gateway address
  • IAM token
  • AWS account


3) How do you receive notifications based on the value of a metric being above or below a stated threshold in Amazon CloudWatch?


  • Set Amazon SmartAlert.
  • Log on through the Amazon console.
  • Create an Amazon CloudWatch threshold dashboard.
  • Create an Amazon CloudWatch alarm.
  • Create a DescribeAlarmHistory API.


4) Scenario-You are testing Oracle, SQL Server, and Mongo DB databases in your AWS account to determine which database to use for your application. Question-Based on the scenario above, how do you decrease the processing time of testing these databases?

  • Transfer the installed files and folders for each database from your local computer to S3.
  • Set up Database as a Service (DaaS) from these vendors.
  • Download DB software directly to Amazon from the vendor site.
  • Configure the File Transfer Protocol (FTP) for the database software from your local computer to S3.
  • Select vendor-provided database AMIs.


5) How do you verify your Amazon CloudSearch application is ready for release to end-users?

  • Look for error logs in the Amazon CloudSearch diagnostics sections.
  • Set up a search engine task using the IP address of the CloudSearch server.
  • Look at the keywords from the indexes in Amazon CloudSearch to ensure readiness.
  • Test sample queries using the search tester in the Amazon CloudSearch console.
  • Create APIs to test the output from Amazon CloudSearch.
  • Answers Click here

Comments

  1. Thanks for this amazing post Amazon Interview questions keep changing, but the objective of testing candidate's problem solving ability is constant.

    ReplyDelete

Post a Comment

Thanks for your message. We will get back you.

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)