Download Latest SOA-C02 PDF Dumps for Best Preparation
Exam
:
SOA-C02
Title
: AWS Certified SysOps
Administrator - Associate
https://www.passcert.com/SOA-C02.html
1 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
1.A Sysops administrator creates an Amazon Elastic Kubernetes Service (Amazon EKS) cluster that uses
AWS Fargate. The cluster is deployed successfully. The Sysops administrator needs to manage the
cluster by using the kubect1 command line tool.
Which of the following must be configured on the Sysops administrator's machine so that kubect1 can
communicate with the cluster API server?
A. The kubeconfig file
B. The kube-proxy Amazon EKS add-on
C. The Fargate profile
D. The eks-connector.yaml file
Answer: A
Explanation:
The kubeconfig file is a configuration file used to store cluster authentication information, which is
required to make requests to the Amazon EKS cluster API server. The kubeconfig file will need to be
configured on the SysOps administrator's machine in order for kubectl to be able to communicate with the
cluster API server.
https://aws.amazon.com/blogs/developer/running-a-kubernetes-job-in-amazon-eks-on-aws-fargate-using
-aws-stepfunctions/
2.A Sysops administrator needs to configure automatic rotation for Amazon RDS database credentials.
The credentials must rotate every 30 days. The solution must integrate with Amazon RDS.
Which solution will meet these requirements with the LEAST operational overhead?
A. Store the credentials in AWS Systems Manager Parameter Store as a secure string. Configure
automatic rotation with a rotation interval of 30 days.
B. Store the credentials in AWS Secrets Manager. Configure automatic rotation with a rotation interval of
30 days.
C. Store the credentials in a file in an Amazon S3 bucket. Deploy an AWS Lambda function to
automatically rotate the credentials every 30 days.
D. Store the credentials in AWS Secrets Manager. Deploy an AWS Lambda function to automatically
rotate the credentials every 30 days.
Answer: B
Explanation:
Storing the credentials in AWS Secrets Manager and configuring automatic rotation with a rotation interval
of 30 days is the most efficient way to meet the requirements with the least operational overhead. AWS
Secrets Manager automatically rotates the credentials at the specified interval, so there is no need for an
additional AWS Lambda function or manual rotation. Additionally, Secrets Manager is integrated with
Amazon RDS, so the credentials can be easily used with the RDS database.
3.A company has an application that runs only on Amazon EC2 Spot Instances. The instances run in an
Amazon EC2 Auto Scaling group with scheduled scaling actions.
However, the capacity does not always increase at the scheduled times, and instances terminate many
times a day. A Sysops administrator must ensure that the instances launch on time and have fewer
interruptions.
Which action will meet these requirements?
A. Specify the capacity-optimized allocation strategy for Spot Instances. Add more instance types to the
2 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Auto Scaling group.
B. Specify the capacity-optimized allocation strategy for Spot Instances. Increase the size of the
instances in the Auto Scaling group.
C. Specify the lowest-price allocation strategy for Spot Instances. Add more instance types to the Auto
Scaling group.
D. Specify the lowest-price allocation strategy for Spot Instances. Increase the size of the instances in
the Auto Scaling group.
Answer: A
Explanation:
Specifying the capacity-optimized allocation strategy for Spot Instances and adding more instance types
to the Auto Scaling group is the best action to meet the requirements. Increasing the size of the instances
in the Auto Scaling group will not necessarily help with the launch time or reduce interruptions, as the
Spot Instances could still be interrupted even with larger instance sizes.
4.A company stores its data in an Amazon S3 bucket. The company is required to classify the data and
find any sensitive personal information in its S3 files.
Which solution will meet these requirements?
A. Create an AWS Config rule to discover sensitive personal information in the S3 files and mark them as
noncompliant.
B. Create an S3 event-driven artificial intelligence/machine learning (AI/ML) pipeline to classify sensitive
personal information by using Amazon Recognition.
C. Enable Amazon GuardDuty. Configure S3 protection to monitor all data inside Amazon S3.
D. Enable Amazon Macie. Create a discovery job that uses the managed data identifier.
Answer: D
Explanation:
Amazon Macie is a security service designed to help organizations find, classify, and protect sensitive
data stored in Amazon S3. Amazon Macie uses machine learning to automatically discover, classify, and
protect sensitive data in Amazon S3. Creating a discovery job with the managed data identifier will allow
Macie to identify sensitive personal information in the S3 files and classify it accordingly. Enabling AWS
Config and Amazon GuardDuty will not help with this requirement as they are not designed to
automatically classify and protect data.
5.A company has an application that customers use to search for records on a website. The application's
data is stored in an Amazon Aurora DB cluster. The application's usage varies by season
and by day of the week.
The website's popularity is increasing, and the website is experiencing slower performance because of
increased load on the DB cluster during periods of peak activity. The application logs show that the
performance issues occur when users are searching for information. The same search is rarely performed
multiple times.
A SysOps administrator must improve the performance of the platform by using a solution that maximizes
resource efficiency.
Which solution will meet these requirements?
A. Deploy an Amazon ElastiCache for Redis cluster in front of the DB cluster. Modify the application to
check the cache before the application issues new queries to the database. Add the results of any queries
3 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
to the cache.
B. Deploy an Aurora Replica for the DB cluster. Modify the application to use the reader endpoint for
search operations. Use Aurora Auto Scaling to scale the number of replicas based on load. Most Voted
C. Use Provisioned IOPS on the storage volumes that support the DB cluster to improve performance
sufficiently to support the peak load on the application.
D. Increase the instance size in the DB cluster to a size that is sufficient to support the peak load on the
application. Use Aurora Auto Scaling to scale the instance size based on load.
Answer: A
Explanation:
Step-by-Step
Understand the Problem:
The application experiences slower performance during peak activity due to increased load on the
Amazon Aurora DB cluster.
Performance issues occur primarily during search operations.
The goal is to improve performance and maximize resource efficiency.
Analyze the Requirements:
The solution should improve the performance of the platform.
It should maximize resource efficiency, which implies cost-effective and scalable options.
Evaluate the Options:
Option A: Deploy an Amazon ElastiCache for Redis cluster.
ElastiCache for Redis is a managed in-memory caching service that can significantly reduce the load on
the database by caching frequently accessed data.
By modifying the application to check the cache before querying the database, repeated searches for the
same information will be served from the cache, reducing the number of database reads. This is efficient
and cost-effective as it reduces database load and improves response times.
Option B: Deploy an Aurora Replica and use Auto Scaling.
Adding Aurora Replicas can help distribute read traffic and improve performance.
Aurora Auto Scaling can adjust the number of replicas based on the load.
However, this option may not be as efficient in terms of resource usage compared to caching because it
still involves querying the database.
Option C: Use Provisioned IOPS.
Provisioned IOPS can improve performance by providing fast and consistent I/O.
This option focuses on improving the underlying storage performance but doesn't address the inefficiency
of handling repeated searches directly.
Option D: Increase the instance size and use Auto Scaling.
Increasing the instance size can provide more resources to handle peak loads.
Aurora Auto Scaling can adjust instance sizes based on the load.
This option can be costly and may not be as efficient as caching in handling repeated searches.
Select the Best Solution:
Option A is the best solution because it leverages caching to reduce the load on the database, which
directly addresses the issue of repeated searches causing performance problems. Caching is generally
more resource-efficient and cost-effective compared to scaling database instances or storage.
Amazon ElastiCache for Redis Documentation
Amazon Aurora Documentation
4 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
AWS Auto Scaling
Using ElastiCache for Redis aligns with best practices for improving application performance by
offloading repetitive read queries from the database, leading to faster response times and more efficient
resource usage.
6.The security team is concerned because the number of AWS Identity and Access Management (IAM)
policies being used in the environment is increasing. The team tasked a SysOps administrator to report
on the current number of IAM policies in use and the total available IAM policies.
Which AWS service should the administrator use to check how current IAM policy usage compares to
current service limits?
A. AWS Trusted Advisor
B. Amazon Inspector
C. AWS Config
D. AWS Organizations
Answer: A
Explanation:
Step-by-Step
Understand the Problem:
The security team is concerned about the increasing number of IAM policies.
The task is to report on the current number of IAM policies and compare them to the service limits.
Analyze the Requirements:
The solution should help in checking the usage of IAM policies against the service limits.
Evaluate the Options:
Option A: AWS Trusted Advisor
AWS Trusted Advisor provides real-time guidance to help you provision your resources following AWS
best practices.
It includes a service limits check that alerts you when you are approaching the limits of your AWS service
usage, including IAM policies.
Option B: Amazon Inspector
Amazon Inspector is an automated security assessment service that helps improve the security and
compliance of applications deployed on AWS. It does not report on IAM policy usage.
Option C: AWS Config
AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS
resources. While useful for compliance, it does not provide a comparison against service limits.
Option D: AWS Organizations
AWS Organizations helps you centrally manage and govern your environment as you grow and scale
your AWS resources. It does not provide insights into IAM policy limits.
Select the Best Solution:
Option A: AWS Trusted Advisor is the correct answer because it includes a service limits check that can
report on the current number of IAM policies in use and compare them to the service limits.
AWS Trusted Advisor Documentation
IAM Service Limits
AWS Trusted Advisor is the appropriate tool for monitoring IAM policy usage and comparing it against
service limits, providing the necessary insights to manage and optimize IAM policies effectively.
5 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
7.A company has a stateless application that is hosted on a fleet of 10 Amazon EC2 On-Demand
Instances in an Auto Scaling group. A minimum of 6 instances are needed to meet service requirements.
Which action will maintain uptime for the application MOST cost-effectively?
A. Use a Spot Fleet with an On-Demand capacity of 6 instances.
B. Update the Auto Scaling group with a minimum of 6 On-Demand Instances and a maximum of 10
On-Demand Instances.
C. Update the Auto Scaling group with a minimum of 1 On-Demand Instance and a maximum of 6
On-Demand Instances.
D. Use a Spot Fleet with a target capacity of 6 instances.
Answer: A
Explanation:
Step-by-Step
Understand the Problem:
The company has a stateless application on 10 EC2 On-Demand Instances in an Auto Scaling group.
At least 6 instances are needed to meet service requirements.
The goal is to maintain uptime cost-effectively.
Analyze the Requirements:
Maintain a minimum of 6 instances to meet service requirements.
Optimize costs by using a mix of instance types.
Evaluate the Options:
Option A: Use a Spot Fleet with an On-Demand capacity of 6 instances.
Spot Fleets allow you to request a combination of On-Demand and Spot Instances.
Ensuring a minimum of 6 On-Demand Instances guarantees the required capacity while leveraging
lower-cost Spot Instances to meet additional demand.
Option B: Update the Auto Scaling group with a minimum of 6 On-Demand Instances and a maximum of
10 On-Demand Instances.
This option ensures the minimum required capacity but does not optimize costs since it only uses
On-Demand Instances.
Option C: Update the Auto Scaling group with a minimum of 1 On-Demand Instance and a maximum of 6
On-Demand Instances.
This does not meet the requirement of maintaining at least 6 instances at all times.
Option D: Use a Spot Fleet with a target capacity of 6 instances.
This option relies entirely on Spot Instances, which may not always be available, risking insufficient
capacity.
Select the Best Solution:
Option A: Using a Spot Fleet with an On-Demand capacity of 6 instances ensures the necessary uptime
with a cost-effective mix of On-Demand and Spot Instances.
Amazon EC2 Auto Scaling
Amazon EC2 Spot Instances
Spot Fleet Documentation
Using a Spot Fleet with a combination of On-Demand and Spot Instances offers a cost-effective solution
while ensuring the required minimum capacity for the application.
6 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
8.A SysOps administrator has launched a large general purpose Amazon EC2 instance to regularly
process large data files. The instance has an attached 1 TB General Purpose SSD (gp2) Amazon Elastic
Block Store (Amazon EBS) volume. The instance also is EBS-optimized. To save costs, the SysOps
administrator stops the instance each evening and restarts the instance each morning.
When data processing is active, Amazon CloudWatch metrics on the instance show a consistent 3.000
VolumeReadOps. The SysOps administrator must improve the I/O performance while ensuring data
integrity.
Which action will meet these requirements?
A. Change the instance type to a large, burstable, general purpose instance.
B. Change the instance type to an extra large general purpose instance.
C. Increase the EBS volume to a 2 TB General Purpose SSD (gp2) volume.
D. Move the data that resides on the EBS volume to the instance store.
Answer: C
Explanation:
Step-by-Step
Understand the Problem:
The EC2 instance processes large data files and uses a 1 TB General Purpose SSD (gp2) EBS volume.
CloudWatch metrics show consistent high VolumeReadOps.
The requirement is to improve I/O performance while ensuring data integrity.
Analyze the Requirements:
Improve I/O performance.
Maintain data integrity.
Evaluate the Options:
Option A: Change the instance type to a large, burstable, general-purpose instance.
Burstable instances provide a baseline level of CPU performance with the ability to burst to a higher level
when needed. However, this does not address the I/O performance directly.
Option B: Change the instance type to an extra-large general-purpose instance.
A larger instance type might improve performance, but it does not directly address the I/O performance of
the EBS volume.
Option C: Increase the EBS volume to a 2 TB General Purpose SSD (gp2) volume.
Increasing the size of a General Purpose SSD (gp2) volume can increase its IOPS. The larger the volume,
the higher the baseline performance in terms of IOPS.
Option D: Move the data that resides on the EBS volume to the instance store.
Instance store volumes provide high I/O performance but are ephemeral, meaning data will be lost if the
instance is stopped or terminated. This does not ensure data integrity.
Select the Best Solution:
Option C: Increasing the EBS volume size to 2 TB will provide higher IOPS, improving I/O performance
while maintaining data integrity.
Amazon EBS Volume Types
General Purpose SSD (gp2) Volumes
Increasing the size of the General Purpose SSD (gp2) volume is an effective way to improve I/O
performance while ensuring data integrity remains intact.
9.With the threat of ransomware viruses encrypting and holding company data hostage, which action
7 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
should be taken to protect an Amazon S3 bucket?
A. Deny Post. Put. and Delete on the bucket.
B. Enable server-side encryption on the bucket.
C. Enable Amazon S3 versioning on the bucket.
D. Enable snapshots on the bucket.
Answer: C
Explanation:
Step-by-Step
Understand the Problem:
The threat of ransomware encrypting and holding company data hostage.
Need to protect an Amazon S3 bucket.
Analyze the Requirements:
Ensure that data in the S3 bucket is protected against unauthorized encryption or deletion.
Evaluate the Options:
Option A: Deny Post, Put, and Delete on the bucket.
Denying these actions would prevent any uploads or modifications to the bucket, making it unusable.
Option B: Enable server-side encryption on the bucket. Server-side encryption protects data at rest but
does not prevent the encryption of data by ransomware.
Option C: Enable Amazon S3 versioning on the bucket.
S3 versioning keeps multiple versions of an object in the bucket. If a file is overwritten or encrypted by
ransomware, previous versions of the file can still be accessed.
Option D: Enable snapshots on the bucket.
Amazon S3 does not have a snapshot feature; this option is not applicable.
Select the Best Solution:
Option C: Enabling Amazon S3 versioning is the best solution as it allows access to previous versions of
objects, providing protection against ransomware encryption by retaining prior, unencrypted versions.
Amazon S3 Versioning
Best Practices for Protecting Data with Amazon S3
Enabling S3 versioning ensures that previous versions of objects are preserved, providing a safeguard
against ransomware by allowing recovery of unencrypted versions of data.
10.A SysOps administrator is evaluating Amazon Route 53 DNS options to address concerns about high
availability for an on-premises website. The website consists of two servers: a primary active server and a
secondary passive server. Route 53 should route traffic to the primary server if the associated health
check returns 2xx or 3xx HTTP codes. All other traffic should be directed to the secondary passive server.
The failover record type, set ID. and routing policy have been set appropriately for both primary and
secondary servers.
Which next step should be taken to configure Route 53?
A. Create an A record for each server. Associate the records with the Route 53 HTTP health check.
B. Create an A record for each server. Associate the records with the Route 53 TCP health check.
C. Create an alias record for each server with evaluate target health set to yes. Associate the records with
the Route 53 HTTP health check.
D. Create an alias record for each server with evaluate target health set to yes. Associate the records with
the Route 53 TCP health check.
8 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Answer: C
Explanation:
To configure Route 53 for high availability with failover between a primary and a secondary server, the
following steps should be taken:
Create Health Checks:
Create HTTP health checks for both the primary and secondary servers. Ensure these health checks are
configured to look for HTTP 2xx or 3xx status codes.
Reference: Creating and Updating Health Checks
Create Alias Records:
Create an alias record for the primary server. Set "Evaluate Target Health" to Yes. Associate this record
with the primary server's HTTP health check.
Create an alias record for the secondary server. Set "Evaluate Target Health" to Yes. Associate this record
with the secondary server's HTTP health check.
Reference: Creating Records by Using the Amazon Route 53 Console Set Routing Policy:
Ensure the routing policy for both records is set to "Failover."
Assign appropriate "Set IDs" and configure the primary record as the primary failover record and the
secondary record as the secondary failover record.
Reference: Route 53 Routing Policies
Test Configuration:
Test the failover configuration to ensure that when the primary server health check fails, traffic is
routed to the secondary server.
Reference: Testing Failover
11.A SysOps administrator noticed that a large number of Elastic IP addresses are being created on the
company's AWS account, but they are not being associated with Amazon EC2 instances, and are
incurring Elastic IP address charges in the monthly bill.
How can the administrator identify who is creating the Elastic IP addresses?
A. Attach a cost-allocation tag to each requested Elastic IP address with the IAM user name of the
developer who creates it.
B. Query AWS CloudTrail logs by using Amazon Athena to search for Elastic IP address events.
C. Create a CloudWatch alarm on the ElPCreated metric and send an Amazon SNS notification when the
alarm triggers.
D. Use Amazon Inspector to get a report of all Elastic IP addresses created in the last 30 days.
Answer: B
Explanation:
To identify who is creating the Elastic IP addresses, the following steps should be taken:
Enable CloudTrail Logging:
Ensure AWS CloudTrail is enabled to log all API activities in your AWS account.
Reference: Setting Up AWS CloudTrail
Create an Athena Table for CloudTrail Logs:
Set up an Athena table that points to the S3 bucket where CloudTrail logs are stored.
Reference: Creating Tables in Athena
Query CloudTrail Logs:
Use Athena to run SQL queries to search for AllocateAddress events, which represent the creation of
9 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Elastic IP addresses.
Example Query:
sql
Copy code
SELECT userIdentity.userName, eventTime, eventSource, eventName, requestParameters FROM
cloudtrail_logs
WHERE eventName = 'AllocateAddress';
Reference: Analyzing AWS CloudTrail Logs
Review Results:
Review the results to identify which IAM user or role is creating the Elastic IP addresses.
Reference: AWS CloudTrail Log Analysis
12.A company has an Amazon CloudFront distribution that uses an Amazon S3 bucket as its origin.
During a review of the access logs, the company determines that some requests are going directly to the
S3 bucket by using the website hosting endpoint. A SysOps administrator must secure the S3 bucket to
allow requests only from CloudFront.
What should the SysOps administrator do to meet this requirement?
A. Create an origin access identity (OAI) in CloudFront. Associate the OAI with the distribution. Remove
access to and from other principals in the S3 bucket policy. Update the S3 bucket policy to allow access
only from the OAI.
B. Create an origin access identity (OAI) in CloudFront. Associate the OAI with the distribution. Update
the S3 bucket policy to allow access only from the OAI. Create a new origin, and specify the S3 bucket as
the new origin. Update the distribution behavior to use the new origin. Remove the existing origin.
C. Create an origin access identity (OAI) in CloudFront. Associate the OAI with the distribution. Update
the S3 bucket policy to allow access only from the OAI. Disable website hosting. Create a new origin, and
specify the S3 bucket as the new origin. Update the distribution behavior to use the new origin. Remove
the existing origin.
D. Update the S3 bucket policy to allow access only from the CloudFront distribution. Remove access to
and from other principals in the S3 bucket policy. Disable website hosting. Create a new origin, and
specify the S3 bucket as the new origin. Update the distribution behavior to use the new origin. Remove
the existing origin.
Answer: A
Explanation:
To secure the S3 bucket and allow access only from CloudFront, the following steps should be taken:
Create an OAI in CloudFront:
In the CloudFront console, create an origin access identity (OAI) and associate it with your CloudFront
distribution.
Reference: Restricting Access to S3 Buckets
Update S3 Bucket Policy:
Modify the S3 bucket policy to allow access only from the OAI. This involves adding a policy statement
that grants the OAI permission to get objects from the bucket and removing any other public access
permissions.
Example Policy:
json
10 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Copy code
{
"Version": "2012-10-17",
"Statement":
[
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E3EXAMPLE"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::example-bucket/*"
}
]
}
Reference: Bucket Policy Examples
Test Configuration:
Ensure that the S3 bucket is not publicly accessible and that requests to the bucket through the
CloudFront distribution are successful.
Reference: Testing CloudFront OAI
13.A SysOps administrator must create an IAM policy for a developer who needs access to specific AWS
services.
Based on the requirements, the SysOps administrator creates the following policy:
Which actions does this policy allow? (Select TWO.)
A. Create an AWS Storage Gateway.
B. Create an IAM role for an AWS Lambda function.
C. Delete an Amazon Simple Queue Service (Amazon SQS) queue.
D. Describe AWS load balancers.
E. Invoke an AWS Lambda function.
Answer: D,E
11 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Explanation:
The provided IAM policy grants the following permissions:
Describe AWS Load Balancers:
The policy allows actions with the prefix elasticloadbalancing:. This includes actions like
DescribeLoadBalancers and other Describe* actions related to Elastic Load Balancing.
Reference: Elastic Load Balancing API Actions Invoke AWS Lambda Function:
The policy allows actions with the prefix lambda:, which includes InvokeFunction and other actions that
allow listing and describing Lambda functions.
Reference: AWS Lambda API Actions
The actions related to AWS Storage Gateway (create), IAM role (create), and Amazon SQS (delete) are
not allowed by this policy. The policy only grants describe/list permissions for storagegateway,
elasticloadbalancing, lambda, and list permissions for SQS.
14.A company is trying to connect two applications. One application runs in an on-premises data center
that has a hostname of hostl .onprem.private. The other application runs on an Amazon EC2 instance that
has a hostname of hostl.awscloud.private. An AWS Site-to-Site VPN connection is in place between the
on-premises network and AWS.
The application that runs in the data center tries to connect to the application that runs on the EC2
instance, but DNS resolution fails. A SysOps administrator must implement DNS resolution between
on-premises and AWS resources.
Which solution allows the on-premises application to resolve the EC2 instance hostname?
A. Set up an Amazon Route 53 inbound resolver endpoint with a forwarding rule for the onprem.private
hosted zone. Associate the resolver with the VPC of the EC2 instance. Configure the on-premises DNS
resolver to forward onprem.private DNS queries to the inbound resolver endpoint.
B. Set up an Amazon Route 53 inbound resolver endpoint. Associate the resolver with the VPC of the
EC2 instance. Configure the on-premises DNS resolver to forward awscloud.private DNS queries to the
inbound resolver endpoint.
C. Set up an Amazon Route 53 outbound resolver endpoint with a forwarding rule for the onprem.private
hosted zone. Associate the resolver with the AWS Region of the EC2 instance. Configure the on-premises
DNS resolver to forward onprem.private DNS queries to the outbound resolver endpoint.
D. Set up an Amazon Route 53 outbound resolver endpoint. Associate the resolver with the AWS Region
of the EC2 instance. Configure the on-premises DNS resolver to forward awscloud.private DNS queries
to the outbound resolver endpoint.
Answer: A
Explanation:
Step-by-Step
Understand the Problem:
There are two applications, one in an on-premises data center and the other on an Amazon EC2 instance.
DNS resolution fails when the on-premises application tries to connect to the EC2 instance. The goal is to
implement DNS resolution between on-premises and AWS resources.
Analyze the Requirements:
Need to resolve the hostname of the EC2 instance from the on-premises network.
Utilize the existing AWS Site-to-Site VPN connection for DNS queries.
Evaluate the Options:
12 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Option A: Set up an Amazon Route 53 inbound resolver endpoint with a forwarding rule for the
onprem.private hosted zone.
This allows DNS queries from on-premises to be forwarded to Route 53 for resolution.
The resolver endpoint is associated with the VPC, enabling resolution of AWS resources.
Option B: Set up an Amazon Route 53 inbound resolver endpoint without specifying the forwarding rule.
This option does not address the specific need to resolve onprem.private DNS queries.
Option C: Set up an Amazon Route 53 outbound resolver endpoint.
Outbound resolver endpoints are used for forwarding DNS queries from AWS to on-premises, not vice
versa.
Option D: Set up an Amazon Route 53 outbound resolver endpoint without specifying the forwarding rule.
Similar to Option C, this does not meet the requirement of resolving on-premises queries in AWS.
Select the Best Solution:
Option A: Setting up an inbound resolver endpoint with a forwarding rule for onprem.private and
associating it with the VPC ensures that DNS queries from on-premises can resolve AWS resources
effectively.
Amazon Route 53 Resolver
Integrating AWS and On-Premises Networks with Route 53
Using an Amazon Route 53 inbound resolver endpoint with a forwarding rule ensures that on-premises
applications can resolve EC2 instance hostnames effectively.
15.A large company is using AWS Organizations to manage its multi-account AWS environment.
According to company policy, all users should have read-level access to a particular Amazon S3 bucket in
a central account. The S3 bucket data should not be available outside the organization. A SysOps
administrator must set up the permissions and add a bucket policy to the S3 bucket.
Which parameters should be specified to accomplish this in the MOST efficient manner?
A. Specify "' as the principal and PrincipalOrgld as a condition.
B. Specify all account numbers as the principal.
C. Specify PrincipalOrgld as the principal.
D. Specify the organization's management account as the principal.
Answer: A
Explanation:
Step-by-Step
Understand the Problem:
Ensure all users in the organization have read-level access to a specific S3 bucket.
The data should not be accessible outside the organization.
Analyze the Requirements:
Grant read access to users within the organization.
Prevent access from outside the organization.
Evaluate the Options:
Option A: Specify "*" as the principal and PrincipalOrgId as a condition.
This grants access to all AWS principals but restricts it to those within the specified organization using the
PrincipalOrgId condition.
Option B: Specify all account numbers as the principal.
This is impractical for a large organization and requires constant updates if accounts are added or
13 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
removed.
Option C: Specify PrincipalOrgId as the principal.
The PrincipalOrgId condition must be used within a policy, not as a principal.
Option D: Specify the organization's management account as the principal.
This grants access only to the management account, not to all users within the organization.
Select the Best Solution:
Option A: Using "*" as the principal with the PrincipalOrgId condition ensures all users within the
organization have the required access while preventing external access.
Amazon S3 Bucket Policies
AWS Organizations Policy Examples
Using "*" as the principal with the PrincipalOrgId condition efficiently grants read access to the S3 bucket
for all users within the organization.
16.A SysOps administrator is attempting to download patches from the internet into an instance in a
private subnet. An internet gateway exists for the VPC, and a NAT gateway has been deployed on the
public subnet; however, the instance has no internet connectivity. The resources deployed into the private
subnet must be inaccessible directly from the public internet.
What should be added to the private subnet's route table in order to address this issue, given the
information provided?
A. 0.0.0.0/0 IGW
B. 0.0.0.0/0 NAT
C. 10.0.1.0/24 IGW
D. 10.0.1.0/24 NAT
Answer: B
Explanation:
Understand the Problem:
An instance in a private subnet needs internet access for downloading patches.
There is an existing NAT gateway in the public subnet.
Analyze the Requirements:
Provide internet access to the private subnet instance through the NAT gateway.
Ensure resources in the private subnet remain inaccessible from the public internet.
Evaluate the Options:
Option A: 0.0.0.0/0 IGW.
This would route traffic directly to the internet gateway, exposing the instance to the public internet.
Option B: 0.0.0.0/0 NAT.
This routes traffic destined for the internet through the NAT gateway, allowing outbound connections while
keeping the instance protected from inbound internet traffic.
14 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Option C: 10.0.1.0/24 IGW.
This does not provide the necessary route for internet access and incorrectly uses the internet gateway
for local traffic.
Option D: 10.0.1.0/24 NAT.
This also incorrectly uses the NAT gateway for local traffic, which is unnecessary.
Select the Best Solution:
Option B: Adding a route for 0.0.0.0/0 with the target set to the NAT gateway ensures that the private
subnet instance can access the internet while remaining protected from inbound internet traffic.
Amazon VPC NAT Gateways
Private Subnet Route Table
Configuring the private subnet route table to use the NAT gateway for 0.0.0.0/0 ensures secure and
efficient internet access for instances in the private subnet.
17.A SysOps administrator applies the following policy to an AWS CloudFormation stack:
What is the result of this policy?
A. Users that assume an IAM role with a logical ID that begins with "Production" are prevented from
running the update-stack command.
B. Users can update all resources in the stack except for resources that have a logical ID that begins with
"Production".
C. Users can update all resources in the stack except for resources that have an attribute that begins with
"Production".
D. Users in an IAM group with a logical ID that begins with "Production" are prevented from running the
update-stack command.
15 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
Answer: B
Explanation:
The policy provided includes two statements:
The first statement explicitly denies the Update:
* action on resources with a LogicalResourceId that begins with "Production".
The second statement allows the Update:
* action on all resources.
In AWS IAM policy evaluation logic, explicit denies always take precedence over allows. Therefore, the
effect of this policy is that users can update all resources in the stack except for those with a logical ID
that begins with "Production".
Reference: IAM JSON Policy Elements: Effect
Policy Evaluation Logic
18.A company's IT department noticed an increase in the spend of their developer AWS account. There
are over 50 developers using the account, and the finance team wants to determine the service costs
incurred by each developer.
What should a SysOps administrator do to collect this information? (Select TWO.)
A. Activate the createdBy tag in the account.
B. Analyze the usage with Amazon CloudWatch dashboards.
C. Analyze the usage with Cost Explorer.
D. Configure AWS Trusted Advisor to track resource usage.
E. Create a billing alarm in AWS Budgets.
Answer: A,C
Explanation:
To determine the service costs incurred by each developer, follow these steps:
Activate the createdBy Tag:
Tagging resources with a createdBy tag helps identify which user created the resource. This tag should be
applied consistently across all resources created by the developers.
Reference: Tagging Your Resources
Analyze Usage with Cost Explorer:
Use Cost Explorer to filter and group cost and usage data by the createdBy tag. This provides a
breakdown of costs incurred by each developer.
Reference: Analyzing Your Costs with Cost Explorer
These two steps together will provide a detailed analysis of the costs incurred by each developer in the
AWS account.
19.A company website contains a web tier and a database tier on AWS. The web tier consists of Amazon
EC2 instances that run in an Auto Scaling group across two Availability Zones. The database tier runs on
an Amazon ROS for MySQL Multi-AZ DB instance. The database subnet network ACLs are restricted to
only the web subnets that need access to the database. The web subnets use the default network ACL
with the default rules.
The company's operations team has added a third subnet to the Auto Scaling group configuration. After
an Auto Scaling event occurs, some users report that they intermittently receive an error message. The
error message states that the server cannot connect to the database. The operations team has confirmed
16 / 17
Download Latest SOA-C02 PDF Dumps for Best Preparation
that the route tables are correct and that the required ports are open on all
security groups.
Which combination of actions should a SysOps administrator take so that the web servers can
communicate with the DB instance? (Select TWO.)
A. On the default ACL. create inbound Allow rules of type TCP with the ephemeral port range and the
source as the database subnets.
B. On the default ACL, create outbound Allow rules of type MySQL/Aurora (3306). Specify the
destinations as the database subnets.
C. On the network ACLs for the database subnets, create an inbound Allow rule of type MySQL/Aurora
(3306). Specify the source as the third web subnet.
D. On the network ACLs for the database subnets, create an outbound Allow rule of type TCP with the
ephemeral port range and the destination as the third web subnet.
E. On the network ACLs for the database subnets, create an outbound Allow rule of type MySQL/Aurora
(3306). Specify the destination as the third web subnet.
Answer: C,D
Explanation:
To ensure that the new web subnet can communicate with the database instance, follow these steps:
Create an Inbound Allow Rule for MySQL/Aurora (3306):
On the network ACL for the database subnets, add an inbound allow rule to permit traffic from the third
web subnet on port 3306 (MySQL/Aurora).
Reference: Network ACLs
Create an Outbound Allow Rule for Ephemeral Ports:
On the network ACL for the database subnets, add an outbound allow rule to permit traffic to the third web
subnet on the ephemeral port range (1024-65535).
Reference: Ephemeral Ports
These changes will ensure that the new subnet can communicate with the database, resolving the
connectivity issues.
20.A company is running an application on a fleet of Amazon EC2 instances behind an Application Load
Balancer (ALB). The EC2 instances are launched by an Auto Scaling group and are automatically
registered in a target group. A SysOps administrator must set up a notification to alert application owners
when targets fail health checks.
What should the SysOps administrator do to meet these requirements?
A. Create an Amazon CloudWatch alarm on the UnHealthyHostCount metric. Configure an action to send
an Amazon Simple Notification Service (Amazon SNS) notification when the metric is greater than 0.
B. Configure an Amazon EC2 Auto Scaling custom lifecycle action to send an Amazon Simple Notification
Service (Amazon SNS) notification when an instance is in the Pending:Wait state.
C. Update the Auto Scaling group. Configure an activity notification to send an Amazon Simple
Notification Service (Amazon SNS) notification for the Unhealthy event type.
D. Update the ALB health check to send an Amazon Simple Notification Service (Amazon SNS)
notification when an instance is unhealthy.
Answer: A
17 / 17
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )