AWS Interview Question


Q6: What are the steps that a user must follow in a CloudFormation Solution?

Ans: With CloudFormation, the developers and enterprises get a straightforward way to make a collection of AWS and third-party associated resources. Not to be outdone, it is responsible for their provision and management in a synchronized and predictable manner. The steps that are included in a CloudFormation solution are written below:

  • Use JSON or YAML format to make a CloudFormation template. Also, you can use a preexisting one.
  • In the S3 bucket, store the code. That will act as a central file storage location for the code.
  • To call the bucket, you must use the AWS CloudFormation. Following this, you have to form a stack on your template.
  • In a specified order, CloudFormation reads and comprehends the details of the file. For instance, the arrangement, the services that the user is calling, and the type of association between the services and provisions.

Q7: Explain the process of upgrading or downgrading a system with near-zero downtime?

Ans: By following some steps in order, you can upgrade or downgrade a system with near-zero downtime.

  • In the first step, you need to open the EC2 console.
  • Select the operating system AMI that is an application server.
  • With the new instance type, you can launch an instance.
  • Make sure you install every single update.
  • After installing the updates, start installing the applications.
  • Check the instance to ensure that it is working.
  • After that, establish the new instance and replace the previous one.
  • After deploying the instance, you are all set to upgrade or downgrade the system with near-zero downtime.

Q8: State the tools and methods used in AWS to determine if the cost for the resources is justified or not?

Ans: By using some techniques, you can find out if you are spending the right amount of money on the service.

  • Use the Top Services Table
    In the cost management console, you are going to find this dashboard that displays the top five most used services. This table will help you identify the amount of money you are spending on the resources under consideration.
  • Cost Explorer
    Another service called cost explorer helps you to see and calculate your usage costs for the year and one month that has passed. If you want a prediction, it provides a cost forecast for the next three months.
  • AWS Budgets
    With this, you can make a budget for the services. Also, you will be able to see if your plan is successfully meeting your budget.
  • Cost Allocation Tags
    This aids in determining the resource that has cost higher than expected in a specific month. So, you can track the cost by organizing your resources and cost allocation tags.

Q9: What is the other way to log into the cloud environment if you don’t use the console?

Ans: These are the alternatives that allow you to log into the AWS resources in case you don’t want to use the console.

  • Putty: is a free network file transfer application and a serial console. It is compatible with many network protocols like SCP, SSH, Telnet, and raw socket connection.
  • AWS CLI for Linux, AWS CLI for Windows, AWS SDK, and AWS CLI for Windows CMD. To control many services from the command line you can use the AWS CLI tool.
  • Eclipse: it is a tool that has an integrated development environment. It is useful in the world of programming as it has a base workspace and a plug-in system that can be extended to customize the environment.

Q10: What do you know about the native AWS Security logging?

Ans: Mostly, the AWS services consist of different logging options.

  • AWS CloudTrail

For each account, this service gives a history of the AWS API calls. Thus, you can do the security analysis, track the resource change, and compliance auditing of your AWS environment. When the new logs are sent, it helps you to configure it to send notifications via AWS SNS which is a very unique thing about this service.

  • AWS Config

Whatever changes occur in your environment, this service lets you understand the configuration. This service contains an AWS inventory that has features, such as configuration history, configuration change notification, and relationships between AWS resources.