Exams > Amazon > AWS Certified Solutions Architect - Professional
AWS Certified Solutions Architect - Professional
Page 17 out of 101 pages Questions 161-170 out of 1009 questions
Question#161

An organization is setting up a highly scalable application using Elastic Beanstalk.
They are using Elastic Load Balancing (ELB) as well as a Virtual Private Cloud (VPC) with public and private subnets. They have the following requirements:
- All the EC2 instances should have a private IP
- All the EC2 instances should receive data via the ELB's.
Which of these will not be needed in this setup?

  • A. Launch the EC2 instances with only the public subnet.
  • B. Create routing rules which will route all inbound traffic from ELB to the EC2 instances.
  • C. Configure ELB and NAT as a part of the public subnet only.
  • D. Create routing rules which will route all outbound traffic from the EC2 instances through NAT.
Discover Answer Hide Answer

A
The Amazon Virtual Private Cloud (Amazon VPC) allows the user to define a virtual networking environment in a private, isolated section of the Amazon Web
Services (AWS) cloud. The user has complete control over the virtual networking environment. If the organization wants the Amazon EC2 instances to have a private IP address, he should create a public and private subnet for VPC in each Availability Zone (this is an AWS Elastic Beanstalk requirement). The organization should add their public resources, such as ELB and NAT to the public subnet, and AWC Elastic Beanstalk will assign them unique elastic IP addresses (a static, public IP address). The organization should launch Amazon EC2 instances in a private subnet so that AWS Elastic Beanstalk assigns them non-routable private IP addresses. Now the organization should configure route tables with the following rules:
✑ route all inbound traffic from ELB to EC2 instances
✑ route all outbound traffic from EC2 instances through NAT
Reference:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo-vpc.html

Question#162

An EC2 instance that performs source/destination checks by default is launched in a private VPC subnet. All security, NACL, and routing definitions are configured as expected. A custom NAT instance is launched.
Which of the following must be done for the custom NAT instance to work?

  • A. The source/destination checks should be disabled on the NAT instance.
  • B. The NAT instance should be launched in public subnet.
  • C. The NAT instance should be configured with a public IP address.
  • D. The NAT instance should be configured with an elastic IP address.
Discover Answer Hide Answer

A
Each EC2 instance performs source/destination checks by default. This means that the instance must be the source or destination of any traffic it sends or receives. However, a NAT instance must be able to send and receive traffic when the source or destination is not itself. Therefore, you must disable source/ destination checks on the NAT instance.
Reference:
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html#EIP_DisableSrcDestCheck

Question#163

An organization has created multiple components of a single application for compartmentalization. Currently all the components are hosted on a single EC2 instance. Due to security reasons the organization wants to implement two separate SSLs for the separate modules although it is already using VPC.
How can the organization achieve this with a single instance?

  • A. You have to launch two instances each in a separate subnet and allow VPC peering for a single IP.
  • B. Create a VPC instance which will have multiple network interfaces with multiple elastic IP addresses.
  • C. Create a VPC instance which will have both the ACL and the security group attached to it and have separate rules for each IP address.
  • D. Create a VPC instance which will have multiple subnets attached to it and each will have a separate IP address.
Discover Answer Hide Answer

B
A Virtual Private Cloud (VPC) is a virtual network dedicated to the user's AWS account. It enables the user to launch AWS resources into a virtual network that the user has defined. With VPC the user can specify multiple private IP addresses for his instances.
The number of network interfaces and private IP addresses that a user can specify for an instance depends on the instance type. With each network interface the organization can assign an EIP. This scenario helps when the user wants to host multiple websites on a single EC2 instance by using multiple SSL certificates on a single server and associating each certificate with a specific EIP address. It also helps in scenarios for operating network appliances, such as firewalls or load balancers that have multiple private IP addresses for each network interface.
Reference:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/MultipleIP.html

Question#164

An organization is making software for the CIA in USA. CIA agreed to host the application on AWS but in a secure environment. The organization is thinking of hosting the application on the AWS GovCloud region. Which of the below mentioned difference is not correct when the organization is hosting on the AWS
GovCloud in comparison with the AWS standard region?

  • A. The billing for the AWS GovCLoud will be in a different account than the Standard AWS account.
  • B. GovCloud region authentication is isolated from Amazon.com.
  • C. Physical and logical administrative access only to U.S. persons.
  • D. It is physically isolated and has logical network isolation from all the other regions.
Discover Answer Hide Answer

A
AWS GovCloud (US) is an isolated AWS region designed to allow U.S. government agencies and customers to move sensitive workloads into the cloud by addressing their specific regulatory and compliance requirements. The AWS GovCloud (US) Region adheres to the U.S. International Traffic in Arms Regulations
(ITAR) requirements. It has added advantages, such as:
Restricting physical and logical administrative access to U.S. persons only There will be a separate AWS GovCloud (US) credentials, such as access key and secret access key than the standard AWS account
The user signs in with the IAM user name and password
The AWS GovCloud (US) Region authentication is completely isolated from Amazon.com If the organization is planning to host on EC2 in AWS GovCloud then it will be billed to standard AWS account of organization since AWS GovCloud billing is linked with the standard AWS account and is not be billed separately.
Reference:
http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/whatis.html

Question#165

How does in-memory caching improve the performance of applications in ElastiCache?

  • A. It improves application performance by deleting the requests that do not contain frequently accessed data.
  • B. It improves application performance by implementing good database indexing strategies.
  • C. It improves application performance by using a part of instance RAM for caching important data.
  • D. It improves application performance by storing critical pieces of data in memory for low-latency access.
Discover Answer Hide Answer

D
In Amazon ElastiCache, in-memory caching improves application performance by storing critical pieces of data in memory for low-latency access. Cached information may include the results of I/O-intensive database queries or the results of computationally intensive calculations.
Reference:
http://aws.amazon.com/elasticache/faqs/#g4

Question#166

A user is thinking to use EBS PIOPS volume.
Which of the below mentioned options is a right use case for the PIOPS EBS volume?

  • A. Analytics
  • B. System boot volume
  • C. Mongo DB
  • D. Log processing
Discover Answer Hide Answer

C
Provisioned IOPS volumes are designed to meet the needs of I/O-intensive workloads, particularly database workloads that are sensitive to storage performance and consistency in random access I/O throughput. Provisioned IOPS volumes are designed to meet the needs of I/O-intensive workloads, particularly database workloads, that are sensitive to storage performance and consistency in random access I/O throughput business applications, database workloads, such as
NoSQL DB, RDBMS, etc.
Reference:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html

Question#167

How can a user list the IAM Role configured as a part of the launch config?

  • A. as-describe-launch-configs -iam-profile
  • B. as-describe-launch-configs -show-long
  • C. as-describe-launch-configs -iam-role
  • D. as-describe-launch-configs -role
Discover Answer Hide Answer

B
As-describe-launch-configs describes all the launch config parameters created by the AWS account in the specified region. Generally, it returns values, such as
Launch Config name, Instance Type and AMI ID. If the user wants additional parameters, such as the IAM Profile used in the config, he has to run command: as-describe-launch-configs --show-long

Question#168

An organization is setting up a multi-site solution where the application runs on premise as well as on AWS to achieve the minimum recovery time objective(RTO).
Which of the below mentioned configurations will not meet the requirements of the multi-site solution scenario?

  • A. Configure data replication based on RTO.
  • B. Keep an application running on premise as well as in AWS with full capacity.
  • C. Setup a single DB instance which will be accessed by both sites.
  • D. Setup a weighted DNS service like Route 53 to route traffic across sites.
Discover Answer Hide Answer

D

Question#169

Which of the following is true of an instance profile when an IAM role is created using the console?

  • A. The instance profile uses a different name.
  • B. The console gives the instance profile the same name as the role it corresponds to.
  • C. The instance profile should be created manually by a user.
  • D. The console creates the role and instance profile as separate actions.
Discover Answer Hide Answer

B
Amazon EC2 uses an instance profile as a container for an IAM role. When you create an IAM role using the console, the console creates an instance profile automatically and gives it the same name as the role it corresponds to. If you use the AWS CLI, API, or an AWS SDK to create a role, you create the role and instance profile as separate actions, and you might give them different names.
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html

Question#170

In the context of policies and permissions in AWS IAM, the Condition element is ____________.

  • A. crucial while writing the IAM policies
  • B. an optional element
  • C. always set to null
  • D. a mandatory element
Discover Answer Hide Answer

B
The Condition element (or Condition block) lets you specify conditions for when a policy is in effect. The Condition element is optional.
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/AccessPolicyLanguage_ElementDescriptions.html

chevron rightPrevious Nextchevron right