Python
Interview
AWS Services
Exam Questions
Random/Fun
100

What is Python?

Python is a high-level and object-oriented programming language with unified semantics designed primarily for developing apps and the web. It is the core language in the field of Rapid Application Development (RAD) as it offers options such as dynamic binding and dynamic typing.

100

You are trying to provide a service in a particular region, but you do not see the service in that region. Why is this happening?

Not all Amazon AWS services are available in all regions. When Amazon initially launches a new service, it doesn’t get immediately published in all the regions. They start small and then slowly expand to other regions. So, if you don’t see a specific service in your region, chances are the service hasn’t been published in your region yet. However, if you want to get the service that is not available, you can switch to the nearest region that provides the services.

100

Which AWS component helps to migrate and replicate database servers?


AWS DMS.

100

Which AWS networking service enables a company to create a virtual network within AWS? 

A) AWS Config 

B) Amazon Route 53 

C) AWS Direct Connect 

D) Amazon Virtual Private Cloud (Amazon VPC)

D – Amazon VPC lets users provision a logically isolated section of the AWS Cloud where users can launch AWS resources in a virtual network that they define.

100

Is Pluto still classified as a dwarf planet? And why?

Yes (it has not cleared the region around it of other objects hence it is still classified as dwarf planet)

200

What are the benefits of Python? 

****BONUS NAME ALL 5 FOR DOUBLE POINTS****

  • Speed and Productivity: Utilizing the productivity and speed of Python will enhance the process control capabilities and possesses strong integration.
  • Extensive Support for Libraries: Python provides a large standard library that includes areas such as operating system interfaces, web service tools, internet protocols, and string protocols. Most of the programming tasks are already been scripted in the standard library which reduces effort and time.
  • User-friendly Data Structures: Python has an in-built dictionary of data structures that are used to build fast user-friendly data structures.
  • Existence of Third Party Modules: The presence of third-party modules in the Python Package Index (PyPI) will make Python capable to interact with other platforms and languages.
  • Easy Learning: Python provides excellent readability and simple syntaxes to make it easy for beginners to learn.
200

What is a DDoS attack, and what services (only name 3) can minimize them?

DDoS is a cyber-attack in which the perpetrator accesses a website and creates multiple sessions so that the other legitimate users cannot access the service. The native tools that can help you deny the DDoS attacks on your AWS services are:

  • AWS Shield
  • AWS WAF
  • Amazon Route53
  • Amazon CloudFront
  • ELB
  • VPC
200

_________ uses SQL to analyze structured and semi-structured data across data warehouses, operational databases, and data lakes, using AWS-designed hardware and machine learning to deliver the best price performance at any scale. 

Amazon Redshift

200

Which service would be used to send alerts based on Amazon CloudWatch alarms?

Amazon SNS and Amazon CloudWatch are integrated so users can collect, view, and analyze metrics for every active SNS. Once users have configured CloudWatch for Amazon SNS, they can gain better insight into the performance of their Amazon SNS topics, push notifications, and SMS deliveries. 

200

What is the name of the singer who sings the song "It Wasn't Me"?

Shaggy (not you James)

300

What type of language is Python? Programming or Scripting?

Python is suitable for scripting, but in general, it is considered a general-purpose programming language.

300

What services can be used to create a centralized logging solution?

The essential services that you can use are Amazon CloudWatch Logs, store them in Amazon S3, and then use Amazon Elastic Search to visualize them. You can use Amazon Kinesis Firehose to move the data from Amazon S3 to Amazon ElasticSearch.

300

What is AWS Macie?

Amazon Macie is a data security and data privacy service that uses machine learning (ML) and pattern matching to discover and protect your sensitive data.

300

Which service can identify the user that made the API call when an Amazon EC2 instance is terminated?

AWS CloudTrail helps users enable governance, compliance, and operational and risk auditing of their AWS accounts. Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail. Events include actions taken in the AWS Management Console, AWS Command Line Interface (CLI), and AWS SDKs and APIs.

300

What is the total number of core Resident Evil Games? (Not including spinoffs)

10.

400

What are the global and local variables in Python?

Global Variables in Python: The variables that are declared outside the function are called global variables. These variables can be accessed or invoked by any function in the program. 

Local Variables in Python: The variables that are declared inside a function are called local variables. These types of variables can be accessed only inside the function.

400

What are the tools and techniques that you can use in AWS to identify if you are paying more than you should be, and how to correct it? (Name 2)

You can know that you are paying the correct amount for the resources that you are using by employing the following resources:

  • Check the Top Services Table

  • Cost Explorer

  • AWS Budgets

  • Cost Allocation Tags

400

What is AWS Lambda?

AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes.

400

How would a system administrator add an additional layer of login security to a user's AWS Management Console?

Multi-factor authentication (MFA) is a simple best practice that adds an extra layer of protection on top of a username and password. With MFA enabled, when a user signs in to an AWS Management Console, they will be prompted for their username and password (the first factor—what they know), as well as for an authentication code from their MFA device (the second factor—what they have). Taken together, these multiple factors provide increased security for AWS account settings and resources

400

Name 4 people who have played the role of Batman?

Adam West, Micheal Keaton, Kevin Conroy, Val Kilmer, George Clooney, Christian Bale, Ben Affleck, Will Arnett, and Robert Pattinson.


500

Mention what the difference between Amazon S3 and EC2 is?

E2: It is a cloud web service used for hosting your application and like a huge computer machine which can run either Linux or Windows and can handle applications like PHP, Python, Apache, or any databases. 

S3: It is a data storage system where any amount of data can be stored and has a REST interface and uses secure HMAC-SHA1 authentication keys.

500

How do you upgrade or downgrade a system with near-zero downtime? (8 steps)

**********DAILY DOUBLE****************

You can upgrade or downgrade a system with near-zero downtime using the following steps of migration:

  • Open EC2 console
  • Choose Operating System AMI
  • Launch an instance with the new instance type
  • Install all the updates
  • Install applications
  • Test the instance to see if it’s working
  • If working, deploy the new instance and replace the older instance
  • Once it’s deployed, you can upgrade or downgrade the system with near-zero downtime.
500

_______ runs simple containerized applications for a fixed, monthly price. 

Amazon Lightsail

500

A business analyst would like to move away from creating complex database queries and static spreadsheets when generating regular reports for high-level management. They would like to publish insightful, graphically appealing reports with interactive dashboards. Which service can they use to accomplish this?

Amazon QuickSight is the most appropriate service in the scenario. It is a fully-managed service that allows for insightful business intelligence reporting with creative data delivery methods, including graphical and interactive dashboards. QuickSight includes machine learning that allows users to discover inconspicuous trends and patterns on their datasets.

500

What is the fire rate for the phantom? (in b/sec.)

11/sec.