Quiz AWS CLF-01 - Semana 5 - Parte 2

Description

Semana 5 - Parte 2
Myriam Heusi
Quiz by Myriam Heusi, updated more than 1 year ago
Myriam Heusi
Created by Myriam Heusi over 1 year ago
22
0

Resource summary

Question 1

Question
26)How can a user achieve high availability for a web application hosted on AWS?
Answer
  • A. Use a Classic Load Balancer across multiple AWS Regions
  • B. Use an Application Load Balancer across multiple Availability Zones in one AWS Region
  • C. Set up automatic scaling and load balancing with another application instance running on premises
  • D. Use the AWS Region with the highest number of Availability Zones

Question 2

Question
27)According to the AWS shared responsibility model, what is the sole responsibility of AWS?
Answer
  • A. Application security
  • B. Edge location management
  • C. Patch management
  • D. Client-side data

Question 3

Question
28) Which of the following is Amazon CloudFront content cached?
Answer
  • A. Availability Zones
  • B. Local Zones
  • C. AWS Regions
  • D. Edge locations

Question 4

Question
29)A company wants to use Amazon Elastic Compute Cloud (Amazon EC2) to deploy a global commercial application. The deployment solution should be built with the highest redundancy and fault tolerance. Based on this situation the Amazon EC2 instances should be deployed:
Answer
  • A. In a single Availability Zone in one AWS Region
  • B. With multiple Elastic Network Interfaces belonging to different subnets
  • C. Across multiple Availability Zones m one AWS Region
  • D. Across multiple Availability Zones in two AWS Regions

Question 5

Question
30)What is an advantage of deploying an application across multiple Availability Zones?
Answer
  • A. There is a lower risk of service failure if a natural disaster causes a service disruption in a given AWS Region
  • B. The application will have higher availability because it can withstand a service disruption in one Availability Zone
  • C. There will be better coverage as Availability Zones are geographical^ distant and can serve a wider area
  • D. There will be decreased application latency that will improve the user experience

Question 6

Question
31)A global company has a mobile app with static data stored in an Amazon S3 bucket in the us-east-1 region. The company serves the content through an Amazon CloudFront distribution. The company is launching the mobile app In South Africa. The data must reside in the af south 1 Region. The company does not want to deploy a specific, mobile client for South Africa. What should the company do to meet these requirements?
Answer
  • A. Use the CloudFront geographic restriction feature to block access to users in South Africa
  • B. Create a Lambda@Edge function. Associate the Lambda@Edge function as an origin request trigger with the CloudFront distribution to change the S3 origin Region
  • C. Create a Lambda@Edge function. Associate the Lambda@Edge function as a viewer response trigger with the CloudFront distribution to change the S3 origin Region
  • D. Include af-south-1 in the alternate domain name (CNAME) of the CloudFront distribution

Question 7

Question
32)Which AWS services can help reduce application latency and improve performance by using edge locations? (Select TWO.)
Answer
  • A. Amazon Route 53
  • B. AWS Global Accelerator
  • C. AWS Direct Connect
  • D. Amazon Connect
  • E. Amazon CloudFront

Question 8

Question
33)A company provides a web-based ecommerce service that runs in two Availability Zones within a single AWS Region. The web service distributes content that is stored in the Amazon S3 Standard storage class. The company wants to improve the web service's performance globally. What should the company do to meet this requirement?
Answer
  • A. Change the S3 storage class to S3 Intelligent-Tiering.
  • B. Deploy an Amazon CloudFront distribution to cache web server content in edge locations.
  • C. Use Amazon API Gateway for the web service
  • D. Migrate the website ecommerce servers to Amazon EC2 with enhanced networking.

Question 9

Question
34)Which AWS services can a company use to transfer on-premises data to the AWS Cloud? (Select TWO.)
Answer
  • A. AWS Snowcone
  • B. AWS Transit Gateway
  • C. AWS DataSync
  • D. AWS Backup
  • E. Amazon Connect

Question 10

Question
35)Which AWS service enables users to create copies of resources across AWS Regions?
Answer
  • A. Amazon ElastiCache
  • B. AWS CloudFormation
  • C. AWS CloudTrail
  • D. AWS Systems Manager

Question 11

Question
36)A company is building an application that needs to deliver images and videos globally with minimal latency. Which approach can the company use to accomplish this in a cost effective manner?
Answer
  • A. Deliver the content through Amazon CloudFront
  • B. Store the content on Amazon S3 and enable S3 cross-region replication
  • C. Implement a VPN across multiple AWS Regions
  • D. Deliver the content through AWS PrivateLink

Question 12

Question
37)What does Amazon CloudFront provide?
Answer
  • A. Automatic scaling for all resources to power an application from a single unified interface
  • B. Secure delivery of data, videos application. and APIs to users globally with low latency
  • C. Ability to directly manage traffic globally through a variety of routing types, including latency-based routing, geo ONS. Geo Proximity, and weighted round robin
  • D. Automatic distribution of incoming application traffic across multiple targets, such as Amazon EC2 instances, containers. IP addresses, and AWS Lambda functions

Question 13

Question
38)How do Amazon EC2 Auto Scaling groups help achieve high availability for a web application?
Answer
  • A. They automatically add more instances across multiple AWS Regions based on global demand of the application
  • B. They automatically add or replace instances across multiple Availability Zones when the application needs it
  • C. They enable the application's stalk: content to reside closer to end users
  • D. They are able to distribute incoming requests across a tier of web server instances

Question 14

Question
39)Which of the following can be used to describe infrastructure as code in the AWS Clouds?
Answer
  • A. AWS CLI
  • B. AWS CloudFormation
  • C. AWS CodeDeploy
  • D. AWS Amplify

Question 15

Question
40) Given the source code for an AWS Lambda function in the local file store.py containing a handler function called get_store and the following AWS CloudFormation template: What should be done to prepare the template so that it can be deployed using the AWS CLI command AWS CloudFormation deploy?
Answer
  • A. Use aws CloudFormation compile to base64 encode and embed the source file into a modified CloudFormation template.
  • B. Use aws CloudFormation package to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template
  • C. Use aws lambda zip to package the source file together with the CloudFormation template and deploy the resulting zip archive
  • D. Use aws serverless create-package to embed the source file directly into the existing CloudFormation template

Question 16

Question
41) A developer needs to access AWS resources from the AWS CLI. Which feature in AWS Identity and Access Management (IAM) can the developer use for authentication?
Answer
  • A. IAM access keys
  • B. IAM policy
  • C. IAM role
  • D. Account password policy

Question 17

Question
42) A company's IT administrator needs to configure the AWS CLI for programmatic access to AWS Cloud services for the company's employees. Which credential components must the IT administrator use to meet this requirement? (Select TWO.)
Answer
  • A. A public key
  • B. A secret access key
  • C. An IAM role
  • D. An access key ID
  • E. A private key

Question 18

Question
43)A company wants to improve the availability and performance of its application with users in different countries. Which AWS service or feature will help improve availability by routing traffic to the closest healthy endpoints?
Answer
  • A. AWS Direct Connect
  • B. AWS Global Accelerator
  • C. AWS Well-Architected Tool
  • D. AWS CLI

Question 19

Question
44)Which of the following is a software development framework that a company can use to define cloud resources as code and provision the resources through AWS CloudFormation?
Answer
  • A. AWS CLI
  • B. AWS Developer Center
  • C. AWS Cloud Development Kit (AWS CDK)
  • D. AWS CodeStar

Question 20

Question
45)Which service's PRIMARY purpose is software version control?
Answer
  • A. Amazon CodeStar
  • B. AWS Command Line Interface (AWS CLI)
  • C. Amazon Cognito
  • D. AWS CodeCommit

Question 21

Question
46) A developer is writing an application in Python. The application runs on AWS Lambda. The application generates a file and needs to upload this file to Amazon S3. The developer must implement this upload functionality with the least possible change to the application code Which solution meets these requirements?
Answer
  • A. Make an HTTP request directly to the S3 API to upload the file
  • B. Include the AWS SDK for Python in the Lambda function Use the SDK to upload the file
  • C. Use the AWS SDK for Python that is installed in the Lambda environment to upload the file
  • D. Use the AWS CLI that is installed in the Lambda environment to upload the file

Question 22

Question
47)A developer is creating an AWS Lambda function that generates a new file each time it runs. Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account.How should the developer accomplish this?
Answer
  • A. When the Lambda function starts, use the Git CLI to clone the repository Check the new file into the cloned repository and push the change.
  • B. After the new file is created in Lambda, use cURL to invoke the CodeCommit API Send the file to the repository.
  • C. Use an AWS SDK to instantiate a CodeCommit client Invoke the put_file method to add the file to the repository
  • D. Upload the new file to an Amazon S3 bucket Create an AWS Step Function to accept S3 events In the Step Function, add the new file to the repository

Question 23

Question
48)Which service enables risk auditing by continuously monitoring and logging account activity, including user actions in the AWS Management Console and AWS SDKs?
Answer
  • A. Amazon CloudWatch
  • B. AWS CloudTrail
  • C. AWS Config
  • D. AWS Health

Question 24

Question
49) A developer is testing a Docker-based application that uses the AWS SDK to interact with Amazon DynamoDB. In the local development environment the application has used IAM access keys. The application is now ready for deployment into an ECS cluster. How should the application authenticate with AWS services in production?
Answer
  • A. Configure an ECS task IAM role for the application to use
  • B. Refactor the application to call AWS STS AssumeRole based on an instance role
  • C. Configure AWS access key/secret access key environment variables with new credentials
  • D. Configure the credentials file with a new access key/secret access key
Show full summary Hide full summary

Similar

aws-certified-solutions-architect-associate
Ciro Dornelles
Associate Solutions Architect
Gabriel Albuquerque
CONCEITOS DE NUVEM
Anderson Leite
Identity and access Management
Isabella Alves
AWS Certified Cloud Practitioner
Arthur Yuhji Carvalho Inoue
VPC E Netwok
Isabella Alves
Caracteristicas de um hypervisor de tipo 1
Vini Andrade
O que é hypervisor
Vini Andrade
Caracteristicas do hypervisor de tipo 2
Vini Andrade
Definição do conceito de nuvem
Vini Andrade