WorksheetsSysOps Associate (Week 4)
Total questions: 5
Worksheet time: 4mins
You notice that requests sending from an EC2 instance to an RDS instance in the same VPC, but in another subnet, are being timed out. How do you troubleshoot this issue?
Create a VPC flow log for the subnet where the RDS instance is launched
Check CloudWatch metrics for the RDS instance
Check OS level logs inside the RDS instance
Check OS level logs inside the EC2 instance
As an Architect, you have created a VPC with an IPv4 CIDR block 10.0.0.0/24 but now there is a requirement to host more resources in the same VPC. What is the most reliable way of doing this?
Delete the existing subnets in the VPC and create new subnets in the VPC
Create a new VPC and connect the old VPC with the new one
Expand the existing VPC by adding a secondary CIDR to your current VPC
There is no way of increasing the IP address range once the VPC has been setup
You are working as an architect in your organisation. You have peered VPC A as requester and VPC B as accepter and both VPCs can communicate with each other. Now you want resources in both the VPCs to reach out to the internet but anyone on the internet should not be able to reach resources within both the VPCs.
Which of the below will achieve the desired outcome?
Create a NAT Gateway in VPC A and route VPC B's outbound to VPC A's NAT Gateway
Create an Internet Gateway in VPC A and route VPC B's outbound to VPC A's Internet Gateway
Create NAT Gateways in both VPCs and configure routes for each VPC to use its own NAT Gateway
Simply create a NAT Instance in VPC A. Nothing else is required.
Which of the following sections in a CloudFormation template allows you to Reference resources located in S3 e.g. Lambda code?
Parameters
Conditions
Resources
Mappings
Transform
A user has created a CloudFormation stack that includes EC2 instances, ELB, Auto Scaling and RDS. While creating the stack, RDS failed to be created. What will CloudFormation do in this scenario?
CloudFormation can never throw an error after launching services since it verifies all the steps prior to launching
It will warn the user about the error and ask the user to manually create RDS
Rollback all the changes and terminate all the created services
It will wait for the user's input about the error and correct the mistake after the user's input
