Skip to main content

Featured post

Python For Loop increment Tricky Example

In this post, I have explained tricky for loop example in Python. The usage of FOR LOOP is to create loops. How many times the loop will execute you may supply in the input.

My Project is to get each character from the input String. I use for loop to achieve this.
Tricky FOR LOOP Examples Explained different for loop examples.
1. Python For Loop Syntax using Variable or Array >> for valuein variable
Python For Loop Example >> myName = 'srinimf'

>> for valuein myName
...        print(value)

The result is as follows:
s
r
i
n
i
m
f
2. Python For Loop With '1' to '10' or 'n'for(i=1;i<=10;i++)<loopbody> The above for loop useful to create definite loop. The maximum loops are '10'. You can write your logic for each value in Python.

This is one of the tricky and most popular example.
3. How does a Python For Loop works a Flowchart

The 'letter' contains ValuestateName is an Array or VariableAfter For Loop you can use BODY s…

5 Most Frequently Asked Aws Tricky Questions

The following list is top tricky questions asked in AWS interviews

1) Question 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) Question Which is required to log on to the AWS management console on a mobile device?
  • 1. SSO alias
  • 2. SiteMinder
  • 3. Gateway address
  • 4. IAM token
  • 5. AWS account
3) Question How do you receive notifications based on the value of a metric being above or below a stated threshold in Amazon CloudWatch?
  • 1. Set Amazon SmartAlert.
  • 2. Log on through the Amazon console.
  • 3. Create an Amazon CloudWatch threshold dashboard.
  • 4. Create an Amazon CloudWatch alarm.
  • 5.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 process time of testing these databases?
  • 1. Transfer the installed files and folders for each database from your local computer to S3.
  • 2. Set up Database as a Service (DaaS) from these vendors.
  • 3. Download DB software directly to Amazon from the vendor site.
  • 4. Configure the File Transfer Protocol (FTP) for the database software from your local computer to S3.
  • 5. Select vendor-provided database AMIs.
5) Question How do you verify your Amazon CloudSearch application is ready for release to end users?
  • 1. Look for error logs in the Amazon CloudSearch diagnostics sections.
  • 2. Set up a search engine task using the IP address of the CloudSearch server.
  • 3. Look at the keywords from the indexes in Amazon CloudSearch to ensure readiness.
  • 4. Test sample queries using the search tester in the Amazon CloudSearch console.
  • 5. Create APIs to test the output from Amazon CloudSearch.
Answers Click here

Comments

Most Viewed

Hyperledger Fabric Real Interview Questions Read Today

I am practicing Hyperledger. This is one of the top listed blockchains. This architecture follows R3 Corda specifications. Sharing the interview questions with you that I have prepared for my interview.

Though Ethereum leads in the real-time applications. The latest Hyperledger version is now ready for production applications. It has now become stable for production applications.
The Hyperledger now backed by IBM. But, it is still an open source. These interview questions help you to read quickly. The below set of interview questions help you like a tutorial on Hyperledger fabric. Hyperledger Fabric Interview Questions1). What are Nodes?
In Hyperledger the communication entities are called Nodes.

2). What are the three different types of Nodes?
- Client Node
- Peer Node
- Order Node
The Client node initiates transactions. The peer node commits the transaction. The order node guarantees the delivery.

3). What is Channel?
A channel in Hyperledger is the subnet of the main blockchain. You c…