Get All the Questions Covering Entire Syllabus from here  (2018-2019) : This material is owned by . Please dont copy its bad Karma

Question 18: You have a 3-tier web application layer one is presentation layer to host web pages, static files etc., middle tier is for application logic and most of the calculation happens by retrieving data from the database on this layer and last layer is for....................................pplication layer for live data retrieval to apply analytics they have to connect via ELB and similarly all the tier has some networking and security related configuration. To better manage the infrastrucre and similar environment to b..........ormation template. How would you manage this all things better way?

  1. You will be creating a separate template for each group of resources based on lifecycle and ownership.
  2. Correct Answer
  3. You will maintaining a single template for all the resources so that all the resources are created as a single unit.
  4. Correct Answer

Correct Answer : A, B, D

Detailed Explaination: You should follow some best practices to create the CloudFormation templates

  1. Generally we want to put all the resources in a single stack.
  2. But as stack become larger, then it is difficult to manage.
  3. By grouping resources with common lifecycle and ownership would help.
  4. So that owners can make changes to their set of resources by using their own processes and scheduled without affecting other resources.
  5. Like EC2 instances hosting the website should be kept in separate stack and instances hosting database should be kept in different stack. So that each team independently can work for updating their respective resources.
  6. Generally speaking if you have n-tier architecture then create separate stack for each tier.
  7. While creating stack based on lifecycle and ownership, it is possible that resources in one stack can use resources in another stack. In this case you have to use cross-stack references to export resources from a stack so that other stacks can use them.
  8. You can control the permissions of CloudFormation templates using IAM such as viewing stack templates, creating and deleting stacks.
  9. Before creating the stacks, you need to check the quota.
  10. As your infrastructure become larger, your template will also grows. But you see that most of the places in your template you will see the same resource declaring. In that case you should find the common pattern in your template and create a separate dedicated template for that.
  11. This will help in creating nested stacks, it means stack that creates another stacks. It is the same approach when you write a code, common functionality you will define in a separate function and wherever required you will that function.
  12. You should not use credentials directly in your template, rather you will be using parameters to pass information while creating or updating stack.

All AWS Certification Products, Training, Books and PDF you must use are below

 AWS Developer Certification : Associate Level     AWS Sysops Administrator Certification : Assciate Level      AWS Solution Architect Certification : Associate Level     AWS Soltion Architect : Professional Level    AWS Certified Security Specialty (SCS-C01)     AWS Professional certification Exam        AWS Package Deal      Book : AWS Solution Architect Associate : Little Guide     AWS Security Specialization Certification: Little Guide SCS-C01     AWS Solution Architect : Training Associate