linkedin-skill-assessments-quizzes

Amazon Web Services (AWS)

Q1. You have an application using a 100 GB MySQL database that you are migrating into AWS. What should you consider when deciding between whether to host the database on RDS for MySQL or Aurora?

Q2. Which database is a NoSQL database type that can quickly store and retrieve key-value pairs?

Q3. Your database is an RDS instance running SQL Server with Multi-AZ replication and you have several older .NET console utilities that perform database operations every 15 seconds. When the cluster has to switch the primary database server to the secondary AZ, the .NET utilities start to report connection failures to the database although other applications are able to access the database. How do you correct this problem?

Q4. What AWS services can help you automate your development pipeline for continuous integration and continuous deployment?

Q5. Which AWS service complies with the standards outlined in Payment Card Industry Data Security Standard (PCI DSS) Level 1 for the handling and transmission of credit card data?

Q6. You have a large amount of files on your network-attached storage array that must be archived and maintained for a period of 10 years due to industry regulations. This data will be infrequently accessed but must be kept. What is the best AWS service for storing this data?

Q7. For your AWS root account, you have generated a random password of the maximum allowed length and included special characters. Which additional steps should you take to secure your AWS root account?

Q8. Which Elastic Load Balancing option supports Lambda as a target?

Q9. How do you architect a solution for an SQL Server database to be replicated across AWS regions in an active-active architecture?

Reference

Q10. What does it cost to launch an EC2 instance from the AWS Marketplace?

Q11. When using an ECS cluster with EC2 instances, what maintenance tasks should you perform on the EC2s?

Q12. What in-memory caching server is not supported by ElastiCache?

Q13. Which AWS service can be used to help generate the documentation required by various compliance standards, such as Payment Card Industry Data Security Standard (PCI DSS) Level 1 for the handling of credit card data?

Q14. When using AWS for research and development ahead of a planned migration, how do you prevent unexpected increases or spikes in the billing?

Q15. You are creating a DynamoDB table to store all movies that have been released since 1938. Your application will allow users to search by movie title and see the details of that film. Given the sample below showing the movie data that you will be importing, what is the best set of keys to apply to this table?

{
  "title": "The Avengers",
  "year": 2012,
  "cast": ["Mark Ruffalo", "Robert Downey, Jr."],
  "genres": ["Action"]
}

Q16. What data store provides a simple and quick way of storing basic user attributes in an object-based format?

Q17. You need a schematic database. Which Amazon database service provides that solution?

Q18. Which communication channel does SNS not support natively?

Q19. When designing a serverless web application using Lambda, what key concept must you factor into your design?

Q20. A principle of DevOps is to view infrastructure as code. Which AWS service allows you to script your AWS infrastructure?

Q21. You created a Windows EC2 instance with a public IP address and installed SQL Server. When attempting to connect to SQL Server from SQL Server Enterprise Manager on your local computer, the Windows EC2 instance is unable to establish a connection to the server. What is the first thing you should check?

Q22. You are hosting an application configured to stream media to its clients on TCP ports 3380-3384, 3386-3388, and 3390. The Inbound tab below shows three incoming security group policies attached to this instance. Which policy should you use?

image

Q23. You have four front-end web servers behind a load balancer, which use NFS to access another EC2 instance that resizes and stores images for the front-end application. What security group policies should be assigned to these servers?

Q24. You have a Linux EC2 web server that suddenly is timing out on all HTTP requests and your SSH connection attempts are timing out. You notice that it is failing the system status check in the EC2 console. What action should you take?

Q25. You have several on-premise servers and would like to store your offsite backups on AWS. What fully managed backup service can you use to ship your backups to AWS?

Q26. What is the best practice for creating a highly available PostgreSQL database in RDS that can sustain the loss of a single AWS region?

Q27. You created a new Linux EC2 instance and installed PostgreSQL but you are not able to establish a connection to the server from your local computer. What steps do you take to resolve this issue?

Q28. What does the statement body of this S3 bucket policy do?

{
  "Sid": "bucketpolicy1",
  "Effect": "Allow",
  "Principal": "*",
  "Action": "s3:GetObject",
  "Resource": "arn:aws:s3:::userreports/*",
  "Condition": {
    "IpAddress": { "aws:SourceIp": "68.249.108.0/24" },
    "NotIpAddress": { "aws:SourceIp": "68.249.108.128/32" }
  }
}

Q29. A new developer has been added to the team and you have been asked to provide access to the organization’s AWS account. What is the best practice for granting access?

Q30. When launching an EC2 instance with an instance type that supports instance storage, what use case is best for instance storage?

Q31. What’s the best practice for horizontally scaling a legacy ASP.NET web application that relies on Active Directory and is currently deployed to a single Windows EC2 instance?

Q32. What does this small section of a CloudFormation template do?

FlowLog:
  Type: AWS::EC2::FlowLog
  Properties:
    DeliverLogsPermissionArn: !GetAtt IamRole.Arn
    LogGroupName: FlowLogsGroup
    ResourceId: !Ref LogVpcId
    ResourceType: VPC
    TrafficType: ALL

Q33. You are running Docker containers on ECS. What is the most important metric to monitor?

Q34. Application Load Balancer can route traffic to several different target groups based upon several conditions. Which of these use cases is not supported by Application Load Balancer?

Q35. What does a VPC do?

Q36. Can you lose the public IP address associated with your EC2 instance?

Q37. Where is the best place to store database backups on an EC2 instance that is configured as a database server?

Q38. Which of these is a valid restriction on the properties of a VPC?

Q39. You have a Linux EC2 instance that is not responding to requests and you can not connect to it via SSH. Using the EC2 console, you issued a command to stop the instance, but for the past 10 minutes, the instance has been in the “stopping” state. What is the next step you should take?

Q40. You have 14 on-premise web servers, 4 database servers, 6 servers using GIS software, 3 file servers, and 4 development servers. What considerations should you take into account when migrating these servers into AWS?

Q41. As your web application grows and your application monitoring needs become more complex, which additional log monitoring service should you NOT consider?

Q42. You have a T2 EC2 instance that is critical to your infrastructure. How would you monitor the most important metric for this instance?

Q43. Which feature can be used to respond to a sudden increase in web traffic?

Q44. If a set of servers are located within a private subnet of your VPC, how can you connect those servers to on-premise servers?

Q45. You have a UDP load balancer that is created by an instance that is running an NGINX proxy. Your application performance management (APM) solution can detect failures in your load balancer instance and transfer the Elastic IP to a passive standby instance. Using the AWS CLI, which script do you program into your APM to move the Elastic IP?

aws ec2 disassociate-address --association-id eipassoc-2bebb712
aws ec2 associate-address --instance-id i-8b953 --allocation-id eipalloc-02d021a
aws ec2 release-address --association-id eipassoc-2bebb712
aws ec2 assign-address --instance-id i-8b953 --allocation-id eipalloc-02d021a
aws ec2 stop-instances --instance-ids i-8b953
wait 30
aws ec2 disassociate-address --association-id eipassoc-2bebb712
aws ec2 associate-address --instance-id i-8b953 --allocation-id eipalloc-02d021a
aws ec2 start-instances --instance-ids i-8b953
aws ec2 release-address --association-id eipassoc-2bebb712
aws ec2 associate-address --instance-id i-8b953 --allocation-id eipalloc-02d021a

Q46. What service can host your Docker containers?

Q47. In the S3 console, underneath the Access column, what does the public badge next to the bucket name indicate?

image

Q48. What privilege is specific to the AWS root account, and cannot be granted to another IAM user on the account?

Q49. Your application is sending 50,000 emails through SES each day. Since you must maintain a low bounce rate to avoid being put on probation, what simple system do you architect to automatically process hard bounces?

Q50. Your web application is getting a suspicious amount of bad requests from foreign IP addresses. Your business is operating in only a few countries and you would like to block any other traffic. What is the best practice for limiting access to your web application by country?

Q51. What is the best practice for maintaining Windows EC2 instances and applying updates?

Q52. In addition to CloudFormation, you can use other orchestration tools to automate server formation and maintenance. Which tool is not an efficient choice for the orchestration of a large infrastructure?

Q53. What happens to a SQL Server RDS instance if the databases increase in size and go over the allocated space?

Q54. You have a fleet of IoT devices that send telemetry to a server-side application provided by your IoT vendor for decoding a proprietary messaging format. The devices are provisioned to send telemetry reports to your server via UDP on port 6339. What is the best way scale this server as more Iot devices are added to your fleet?

Q55. the outbound rules of a security group only allow traffic going to 0.0.0.0/0 on TCP Port 22 (SSH) and TCP port 3306 (MySQL). Review the inbound rules listed in the image below. What is the most important issue to fix with this security group configuration, for an Ubuntu EC2 instance acting as a web server?

image

Q56. An EC2 instance running a WordPress site keeps getting hacked, even though you have restored the server several times and have patched WordPress. What AWS service can help you detect and prevent further attacks?

Q57. A nontechnical client wants to migrate a WordPress site to AWS from a private server managed by a third-party hosting company. Which AWS service should you recommend to migrate the site to?

Q58. Your company has on-premise servers with an existing onsite backup solution that also replicates backups to another campus on the other side of the country with its own on-site backup solution. You have been asked to create a third level of redundancy by also storing these backups in the cloud. In the event of a primary and secondary backup failure, your boss wants to know that the cloud backups can be accessible as fast as possible to reduce downtime during the recovery. What S3 storage class do you recommend for cost and performance?

Q59. Which big data store will let you store large streams of user activity data coming from both web and mobile applications?

Q60. What option is best for Auto Scaling your EC2 instances for predictable traffic patterns?

Q61. You are migrating an on-premise RabbitMQ cluster into AWS. Which migration path should you choose for ease of both maintenance and deployment?

Q62. When creating a new RDS instance, what does the Multi-AZ option do?

Q63. What is the best EC2 instance class for a server that continuously has a heavy CPU load?

Q64. Your application performance management (APM) system can read the status of your CloudWatch monitors and perform scripted actions. When the CloudWatch metric StatusCheckFailed enters a failed state (a value of 1), you would like your APM to automatically repair the instance. Which script do you use?

aws ec2 stop-instances --instance-ids i-0b263919b6498b123
aws ec2 start-instances --instance-ids i-0b263919b6498b123
aws ec2 reboot-instances --instance-ids i-0b263919b6498b123
aws ec2 reboot-instances --instance-ids i-0b263919b6498b123
wait 30
aws ec2 start-instance --instance-ids i-0b263919b6498b123
aws ec2 reboot-instances --instance-ids i-0b263919b6498b123
aws ec2 start-instances --instance-ids i-0b263919b6498b123

Q65. What is wrong with the third incoming security group rule, which allows all traffic from sg-269afc5e to go to an Ubuntu EC2 instance configured as a web server?

065

Q66. You have a VPC that has a public and private subnet. There is a NAT gateway in the public subnet that allows instances in the private subnet to access the internet without having public exposure outside of the VPC. What should the routing tables be for the private subnet?

image

Destination 1: 10.0.0.0/16, Target 1: local;
Destination 2: 0.0.0.0/0, Target 2: nat-09b4832
Destination 1: 10.0.0.0/24, Target 1: local;
Destination 2: 0.0.0.0/0, Target 2: igw-b2ff47d6
Destination 1: 10.0.0.0/24, Target 1: subnet-1948ba2;
Destination 2: 0.0.0.0/0, Target 2: nat-09b4832
Destination 1: 10.0.0.0/16, Target 1: vpc-12bd09ac2;
Destination 2: 0.0.0.0/0, Target 2: igw-b2ff47d6

Q67. To comply with auditing requirements of some compliance standards, which AWS tool can be enabled to maintain an audit log of access and changes to your AWS infrastructure?

Q69. When sending a large volume of email through SES, what is the most important set of metrics to monitor?

Q70. You are going to host an application that uses a MySQL database. Which database should you select if you don’t want to manage scaling or database administration tasks?

Q71. A form in web application is sending sign-up data to “http://example.com/signup/new?source=web” and this data needs to be handled by an ECS service behind Application Load Balancer (ALB). Which ALB rule will route this request?

image

IF (all match)
    Path is /signup*
    Query string is signup:new
Then
    Forward to ecs-cluse-service <there is a typo - yes!
IF (all match)
    Path is /sign/new/&
    Query request method is POST
Then
    Forward to ecs-cluse-service

Q72. Which AWS service can host the web application server for a WordPress site?

Q73. What does the following AWS CLI create-service command for ECS do?

aws ecs create-service \
 --cluster production \
 --service-name rest-api \
 --task-definition rest-api:1 \
 --desired-count 2 \
 --launch-type "FARGATE" \
 --network-configuration \
 "awsvpcConfiguration={subnets=[subnet-0b29129ab],securityGroups=[sg-0b29129ab]}"

Q74. You want to make your public API quickly accessible from all regions. What is the best way to do this?

Q75. What type of data solution should you use for data coming from nonrelational and relational data from IoT devices, websites, mobile apps, etc.?

Q76. You have an analytics suite that produces reports about the usage patterns of your web application. After completing your migration to AWS and using Application Load Balancer to balance the load across your web application, your marketing department noticed that location-based reports on the web traffic only show traffic originating from a single location. What is the problem?

Q77. What is not a default user of a common Linux instance launched from an AMI?

Reference

Q78. You have replicated the infrastructure that serves the backend API for your web application across regions to better serve your customers in the US and the EU. What is the best way to direct your web application at the nearest data center?

Reference

Reference

Q80. How do you connect via SSH to a Linux EC2 instance with an EBS volume if you lost your key pair?

Reference

image

Q82. You are migrating a 200 GB database from an on-premise SQL Server to RDS for SQL Server. The database needs to have minimal downtime during the migration. What is the best practice for migrating this database?

Reference

Q83. You have enabled Multi-Factor Authentication (MFA) for your AWS root account and you lost your MFA device. What do you need to do to recover access to your account?

Reference

Q84. How do you assign an Elastic IP to several EC2 instances?

Reference

Q85. You created a VPC that has a public subnet and a private subnet. A web server was placed in the public subnet and a database server was placed in the private subnet. The web server is able to connect to the database server; however, the database server at 10.0.1.2 is unable to get software updates. What is the cause of this issue?

Q86. Benefit of using S3 Glacier?

Q87. After installing AWS Amplify’s CLI, what command allows the user to connect an AWS account with the local install?

Reference

Q88. How do you limit access to an S3 bucket by source IP address?

Q89. What is the benefits of using S3 Glacier for storage?

Q91. When creating a RESTful API into a DynamoDB table, which is the right service to facilitate this?

Reference

Q92. Which AWS service is valid data source for AppSync?

Reference

Q93. If a single instance has failed to launch within 24 hours due to some issues during a set up of Auto-scaling. Then what will happen to the Auto-Scaling condition?

Q94. Point out the wrong statement.

Q95. In terms of Amazon VPC design, a VPC with a single public subnet is ideal for which of the following application designs?

Q96. If you stop and restart an EC2 instance, does it retain its private IP address?

Q97. All the Amazon EC2 instances you launch into a nondefault VPC are _ by default.

Q98. When you launch an instance into a dedicated-tenancy VPC, what happens?

Q99. Use the _ protocol in a VPC security group to communicate with a DB instance.

100. Which is default user in Ec2 Linux-red hat/amazon.

Q101. When using Systems Manager, you can create policies through Systems Manager ____.

Q102. Businesses are increasingly moving towards hybrid cloud environments with automated IT. What Amazon EC2 State Manager feature is particularly useful for these companies?

Q104. Within EC2 Systems Manager, you can use Patch ____ to pick the patches you want to install with your instances.

Q105. When is an AWS Batch job’s status runnable?

Q106. Which statement regarding AWS Batch automated retries is correct?

Q107. What AWS Batch job parameter can you specify to prevent an unsuccessful job from being stuck in a loop?

Q108. In which of the following AWS Batch components can a user set a priority level, for time-sensitive or low-priority jobs?

Q109. You may invalidate up to _ path files each month from Amazon CloudFront at no additional charge.

Q111. In regard to Amazon CloudFront, when you create a new web distribution, the Path Pattern for the default cache behavior is set to **_**.

Q112. In Amazon CloudFront, if you add a CNAME for www.example.com to your distribution, you also need to create (or update) a CNAME record with your DNS service.

Q113. Which of the following statements is true of Amazon CloudFront when you can control how long your objects stay in a CloudFront cache before it forwards another request to your origin?

Q114. You are tasked with supporting users of a mobile app. The app allows users to view content (e.g., images) but only upload images if they are logged in to the app via Cognito. Which option would require the least amount of development time and provide the highest security to prevent non-authenticated users from posting content?

Q115. If a user requires programmatic access to your AWS resources, what is required to authenticate?

Reference

Q116. **___** are predefined, out-of-the-box policies that grant permissions for common use cases to eliminate the need to determine what permissions are needed.

Reference

Q117. Within an IAM policy, the __ _ ____ are top-level policy elements whereas the rest of them are statement-level elements.

Reference

Q118. Return traffic to all EC2 instances in a VPC’s new public subnet is somehow blocked. You would like to ensure that return traffic from all potential clients is received moving forward. Which port range should you allow to ensure that return traffic from all potential clients is received?

Reference

Q119. You manage AWS credentials for a company that is onboarding two new employees: one is an HR administrator, and the other is a developer. The Dev team is large and has an IAM group within the company’s AWS accounts, but Human Resources currently has a single employee with no plans to expand the department. It is company policy to provide long-term credentials to AWS employees in a manner that allows simple reassignment in the case of any promotions or resignations. How can you provide appropriate AWS access to the new developer and follow company policy? (Choose 2 answers)

Reference

Q120. Which of the following is a fully-managed AWS database service?

Q121. Which AWS database service is a fully managed, serverless, multi-model database that supports document, key-value, and wide-column data models?

Q122. Which AWS service is primarily used to store and retrieve any amount of data at any time from anywhere on the web?

Explanation

Q123. What is the maximum size of a single object that can be uploaded to Amazon S3 in a single PUT operation?

Explanation

Q124. Which of the following services is used to automatically distribute incoming application traffic across multiple targets, such as EC2 instances, containers, and IP addresses?

Explanation

Q125. You work as a cloud consultant for an IT company. As most of the employees are working from home, you need to find a way to provide them with secure access to the company’s internal sites and SaaS applications. Which of the following AWS services would you suggest them to use?

Q126. Which AWS service can convert text to lifelike speech?