<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Wojciech Szczepucha</title>
    <description>The latest articles on Forem by Wojciech Szczepucha (@donkoyote).</description>
    <link>https://forem.com/donkoyote</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F310298%2F906d8bf3-e9d7-4b98-b2e6-54ada668e066.png</url>
      <title>Forem: Wojciech Szczepucha</title>
      <link>https://forem.com/donkoyote</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/donkoyote"/>
    <language>en</language>
    <item>
      <title>AWS Certified Solutions Architect - Professional a few thoughts</title>
      <dc:creator>Wojciech Szczepucha</dc:creator>
      <pubDate>Mon, 22 Mar 2021 22:23:07 +0000</pubDate>
      <link>https://forem.com/aws-builders/aws-certified-solutions-architect-professional-a-few-thoughts-1m5n</link>
      <guid>https://forem.com/aws-builders/aws-certified-solutions-architect-professional-a-few-thoughts-1m5n</guid>
      <description>&lt;h2&gt;
  
  
  For what reason did I attend this exam at all?
&lt;/h2&gt;

&lt;p&gt;After a few years of working on plenty of cloud projects, where AWS was around 95% of my daily duty, I just wanted to give it a try. No other reasons that I'm aware of ;).&lt;/p&gt;

&lt;h2&gt;
  
  
  The Exam
&lt;/h2&gt;

&lt;p&gt;AWS states on the official &lt;a href="https://d1.awsstatic.com/training-and-certification/docs-sa-pro/AWS-Certified-Solutions-Architect-Professional_Exam-Guide.pdf"&gt;Exam Guide&lt;/a&gt;:&lt;br&gt;
"This exam validates advanced technical skills and experience in designing distributed applications and systems on the AWS platform."&lt;/p&gt;

&lt;p&gt;You are going to be tested on five domains:&lt;/p&gt;

&lt;p&gt;Domain 1: Design for Organizational Complexity &lt;br&gt;
Domain 2: Design for New Solutions &lt;br&gt;
Domain 3: Migration Planning &lt;br&gt;
Domain 4: Cost Control &lt;br&gt;
Domain 5: Continuous Improvement for Existing Solutions &lt;/p&gt;

&lt;p&gt;On my &lt;a href="https://www.linkedin.com/feed/update/urn:li:activity:6778623026612228096/"&gt;LinkedIn&lt;/a&gt; post, I wrote.&lt;/p&gt;

&lt;p&gt;"A very nice exam, but you have to rush, really - for me, the time was short. It covers all possible solutions available on the AWS cloud, so you should have hands-on experience with most of them. Most of the questions are migration-related, so again you have to have experience."&lt;/p&gt;

&lt;p&gt;And above is a nutshell of what you can expect and what is expected from you.&lt;/p&gt;

&lt;p&gt;The exam itself is a "Blitzkrieg," if you know what I mean. Questions are quite long, so you have to keep the focus on the details. Answers are not so tricky, but the devil is in the details - again. What you can expect is well shown &lt;a href="https://d1.awsstatic.com/training-and-certification/docs-sa-pro/AWS-Certified-Solutions-Architect-Professional_Sample-Questions.pdf"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;It lasts for 220 mins. Due to Covid-19, the only way to get it done is the on-line way. I did online exams before, but never for 4h in a row, so bear in mind that you are stick to your desk without an option to move or use a bathroom (that's insane).&lt;/p&gt;

&lt;p&gt;220 mins for 75 questions, give you like 3 minutes per question. It means that you have to be confident about the topic. There is not that much time for consideration. At least for me, the time was short, even, the language is quite straightforward (I'm not a native English speaker).&lt;/p&gt;

&lt;h2&gt;
  
  
  Preparation
&lt;/h2&gt;

&lt;p&gt;The best preparation is to use the cloud and work with multiple projects for few years. &lt;/p&gt;

&lt;p&gt;Before the cloud, I was responsible for building multi-branches secure networks, highly available and resilient solutions, clustered virtualized environments, that supported the companies I worked for.&lt;/p&gt;

&lt;p&gt;What helped me a lot was that I've conducted commercial "AWS driven" training for multiple groups of professionals in the area of Development on AWS, Architecture, and dedicated Security training for the last two years. &lt;/p&gt;

&lt;p&gt;If you can, try to teach someone, for sure you will have a very good recap for all services :). You can pick someone from your surrounding, maybe a colleague who starts his/hers journey with the cloud. You will be able to find gaps in how you understand particular services.&lt;/p&gt;

&lt;p&gt;Creating materials, labs, and writing articles for my newly created &lt;a href="https://poznajaws.pl"&gt;site&lt;/a&gt; was extremely helpful too.&lt;/p&gt;

&lt;p&gt;You might be surprised that I don't write much about certain services. This is for a reason, as you will find all possible solutions on the exam that fits within 5 domains. &lt;/p&gt;

&lt;p&gt;Most questions were around the fifth domain, so I was asked about possible improvements to the existing solutions: a few questions involved AWS DMS and the overall migration process. Also, I got a few technical questions about VPC, like AWS Transit Gateway or Peering connections. Of course, you will find services like Kinesis or SQS (remember, decoupling). But there are few questions, that ask about 4-5 services to be implemented in a row.&lt;/p&gt;

&lt;p&gt;A list of services you might find on the exam can be found &lt;a href="https://github.com/swiatchmury/aws-egzaminy/blob/master/materials/AWS_Certified_Solutions_Architect_Professional/README.md"&gt;here&lt;/a&gt; even it's in Polish.&lt;/p&gt;

&lt;p&gt;I also used &lt;a href="https://learn.cantrill.io/"&gt;Adrian Cantrills&lt;/a&gt; AWS Certified Solutions Architect - Professional course to do a quick re-cap around services, which I haven't touched for a while.&lt;/p&gt;

&lt;p&gt;The last service I've used was a &lt;a href="https://www.whizlabs.com/aws-solutions-architect-professional/"&gt;Whizlabs&lt;/a&gt;, as they have very good tests, so you can practice and find your gaps also.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://tutorialsdojo.com/category/aws-cheat-sheets/"&gt;TutorialsDojo&lt;/a&gt; has well-prepared AWS cheat sheets, they also might be helpful for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  My last thoughts around the exam
&lt;/h2&gt;

&lt;p&gt;Build your own lab and use as many services as you can. Play a lot. Think like you would have a three-tier application on your on-premises environment, and how would you migrate it to the cloud, when you have 10 GB, 100GB, and 100TB of data to move. What services are involved, what are your options for transfer, and so on?&lt;/p&gt;

&lt;p&gt;Take your time to get a good understanding of the costs of migration, what costs more, what is better if you are thin into time.&lt;/p&gt;

&lt;p&gt;Bear in mind, that cost is not always the determinant.&lt;/p&gt;

&lt;p&gt;What if you want to implement something quickly without disrupting the production environment.&lt;/p&gt;

&lt;p&gt;How would you secure the application, when you have attacks coming from distributed sources with random IPs - what services can help you with it.&lt;/p&gt;

&lt;p&gt;If you haven't work on multiple domains yet, wait and come back sooner or later. I mean it.&lt;/p&gt;

&lt;p&gt;Try to teach someone, it's the best way I found, to be on track with the services and how you understand them.&lt;/p&gt;

&lt;p&gt;Take advantage of the previous exam discount (if you still have one) - AWS gives you a 50% discount coupon for each exam you pass.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>architecture</category>
    </item>
    <item>
      <title>AWS Certified Security Speciality a few thoughts</title>
      <dc:creator>Wojciech Szczepucha</dc:creator>
      <pubDate>Tue, 19 Jan 2021 21:25:49 +0000</pubDate>
      <link>https://forem.com/aws-builders/aws-certified-security-speciality-a-few-thoughts-11db</link>
      <guid>https://forem.com/aws-builders/aws-certified-security-speciality-a-few-thoughts-11db</guid>
      <description>&lt;h2&gt;
  
  
  What does AWS expects from you?
&lt;/h2&gt;

&lt;p&gt;You need to have at least two years of experience in AWS!&lt;/p&gt;

&lt;p&gt;I mean it! &lt;/p&gt;

&lt;p&gt;Hand-on experience, in my opinion, is a must-have if you want to pass this exam. Also, in the context of the AWS Security Speciality exam, AWS requires from you broad knowledge of theirs security-related services. &lt;/p&gt;

&lt;p&gt;You will be asked to prove your professional experience with IAM, S3, CloudWatch, or KMS - having on mind full coherence of those and other services. Additionally, if you feel insecure with a good understanding of the networking stack, attacks like DDoS, and how to remediate them, better sit and learn.&lt;/p&gt;

&lt;p&gt;This might feel like an exaggeration, but not this time :).&lt;/p&gt;

&lt;p&gt;My personal goal was not only to pass the exam, but it was still somewhat important for me, but I really wanted to deep dive into services and know them well. I work as a Cloud Security Engineer, and for me, understanding "how does it work" is fundamental.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read a lot
&lt;/h2&gt;

&lt;p&gt;Start with AWS Whitepapers and AWS Best Practices. Of course, particular services FAQs are very helpful either.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://d1.awsstatic.com/training-and-certification/docs-security-spec/AWS-Certified-Security-Specialty_Exam-Guide_v1.6_FINAL.pdf"&gt;Exam Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://d1.awsstatic.com/whitepapers/Security/AWS_Security_Best_Practices.pdf"&gt;AWS Security Best Practices&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://d1.awsstatic.com/whitepapers/Security/DDoS_White_Paper.pdf?"&gt;AWS Best Practices for DDoS Resiliency&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://d1.awsstatic.com/whitepapers/Security/Networking_Security_Whitepaper.pdf"&gt;Overview of AWS Security - Network Security&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Services - I urge you to know them very well
&lt;/h2&gt;

&lt;p&gt;Let's stop for a while. Below you will find services that, in my opinion, you should know well before taking the exam. &lt;/p&gt;

&lt;h4&gt;
  
  
  AWS IAM
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Policy - know what they are for, how to build them, how they work, and the &lt;a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html"&gt;policy evaluation logic&lt;/a&gt;. There is no excuse here; if you do not feel comfortable with IAM, do not go further. Know well how the 'Condition' statement works in the policy, what types of statements can be used.&lt;/li&gt;
&lt;li&gt;Understand the difference between identity policy and resource policies, when to use which.&lt;/li&gt;
&lt;li&gt;Know how to give permissions to your resources between accounts. How to revoke them. &lt;/li&gt;
&lt;li&gt;User, Group, Identity Pool (SAML usage) - overall knowledge and best practices are enough.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Example scenario: Corporate (with over 5000 user accounts, with their own IdP in the on-premise environment) wants to give part of theirs employees access to AWS accounts. Think, how would you build federation services here (maybe SAML &amp;amp;  ADFS)?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  AWS KMS
&lt;/h4&gt;

&lt;p&gt;If you haven't used this service intentionally, take your time and play with it. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Know how to create your own encryption keys, how do they work, what are the limits? How to rotate keys, understand when to rotate them manually? Take your time to understand how authorization with other services works: S3, RDS, EBS, third party accounts.&lt;/li&gt;
&lt;li&gt;Know what the manual process of encrypting and decrypting data is. How to provide your own material?&lt;/li&gt;
&lt;li&gt;When CMK is enough when CloudHSM is required?&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS CloudHSM
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;It is worth knowing what scenarios it will work in. What are the differences in terms of management and how to deal with Disaster Recovery and multi-region. &lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Amazon S3
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Think of S3 as a central files and logs repository - pay attention to ACLs and moving data between accounts.&lt;/li&gt;
&lt;li&gt;I would recommend you to exercise: encryption, replication between buckets. &lt;/li&gt;
&lt;li&gt;Be familiar with different types of tiers! How to make sure that your objects can stay untouched when time passes?&lt;/li&gt;
&lt;li&gt;Know the difference between Bucket Policy and ACL on the object level.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Amazon VPC
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;When the private network is private, and when it's public? How to properly set routing and NAT?&lt;/li&gt;
&lt;li&gt;How Security Groups and NACLs work - how and where they can be attached, what is the difference between statefulness and stateless?&lt;/li&gt;
&lt;li&gt;Know how to connect networks between each-other. Peering, VPC Endpoints, Private Links.&lt;/li&gt;
&lt;li&gt;What is the Bastion Host, when and where should it be used?&lt;/li&gt;
&lt;li&gt;Know how to diagnose network connectivity problems, what tools to use, and which tools will show what? &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Security Group allows the traffic, but the traffic is not passing, where is the problem?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  AWS CloudWatch
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Know it well. Understand how it works, what it is for - how to use it for scheduled actions, how to interact with other services.&lt;/li&gt;
&lt;li&gt;Take your time to understand how CloudWatch can be used to centralize events from your accounts and services.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS CloudFront
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Pay particular attention to the usage scenarios; it is worth clicking through and being aware of the functionality. Pay attention to possible options for limiting access to content, payment for access, use by applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Lambda
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Play with permissions when using other services and working with API Gateway, including Cognito and authentication.&lt;/li&gt;
&lt;li&gt;You should also know when Lambda can come in handy, e.g., automating responses to security events.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Cognito
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;It is worth distinguishing between User Pool and Identity Pool, what to use when, and how to build user permissions based on IAM and Cognito.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS WAF
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;What is WAF? How can we leverage from it with ALB, CloudFront? Why should we consider buying from the marketplace or using custom rules?&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Config
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Love this one! :)&lt;/li&gt;
&lt;li&gt;Automated reaction on findings/events is crucial here.&lt;/li&gt;
&lt;li&gt;Know the rule. AWS Config is for knowing "what" was changed, where CloudTrail is mostly for "who" did that change.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS SSM
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Do you know how to get into your EC2 without TCP port 22?&lt;/li&gt;
&lt;li&gt;Know how we can update our EC2 instances and remediate findings in an automated way.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Secrets Manager
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Get around with it.&lt;/li&gt;
&lt;li&gt;Remember! After configuring auto-rotation, the first operation is done immediately (to confirm that it's working as expected), so it may break the service's operation consuming this parameter.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Athena
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;It's worth getting through your logs with Athena, even though just for a better understanding of what it's capable of.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  It is also worth knowing:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AWS Shield Advanced&lt;/li&gt;
&lt;li&gt;AWS Security HUB&lt;/li&gt;
&lt;li&gt;Amazon GuardDuty&lt;/li&gt;
&lt;li&gt;AWS CloudTrail&lt;/li&gt;
&lt;li&gt;AWS Config&lt;/li&gt;
&lt;li&gt;AWS Inspector&lt;/li&gt;
&lt;li&gt;Trusted Advisor&lt;/li&gt;
&lt;li&gt;AWS Directory Services&lt;/li&gt;
&lt;li&gt;AWS Organizations - what is SCP for?&lt;/li&gt;
&lt;li&gt;Amazon ECS - take a look at the security of underlying hosts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the FAQs for all of the services mentioned above and focusing heavily on the IAM and KMS documentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/aup/"&gt;AWS Acceptable Use Policy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/security/penetration-testing/"&gt;AWS Penetration Testing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://medium.com/@rzepsky/passing-the-aws-certified-security-speciality-exam-d5ac90b3cdbc"&gt;Paweł Rzepa - his thoughts around the topic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://coggle.it/diagram/XCx0VU8yTIKcn9xF/t/aws-certified-security-specialty"&gt;Mind map of Paweł Rzepa - beneficial for the recaps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html"&gt;Condition Keys&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jayendrapatil.com/aws-certification-security-identity-services-cheat-sheet"&gt;A good summary of services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Video materials worth watching
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=gjrcoK8T3To"&gt;AWS re:Invent 2017: Best Practices for Managing Security Operations on AWS (SID206)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=YQsK4MtsELU&amp;amp;t=2s"&gt;AWS re:Invent 2018: Become an IAM Policy Master in 60 Minutes or Less (SEC316-R1)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=zU1x5SfKEzs"&gt;Advanced Security Best Practices Masterclass&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=X1eZjXQ55ec"&gt;AWS re:Invent 2017: Best Practices for Implementing AWS Key Management Service (SID330)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=gTZgxsCTfbk"&gt;AWS re:Invent 2017: A Deep Dive into AWS Encryption Services (SID329)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=uhXalpNzPU4"&gt;Encryption and Key Management in AWS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My last thoughts around the exam
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Build your own lab and use as many services as you can. 
Play a lot with IAM policies, KMS policies, and know them well.. not only semantically but for understanding the rules and connections.&lt;/li&gt;
&lt;li&gt;Take your time to get a good understanding of AWS Config, AWS Inspector, AWS GuardDuty - what, where it gets information from, how it exchanges it with each other, what it is for.&lt;/li&gt;
&lt;li&gt;Practical knowledge of CloudTrail (especially data availability over time), CloudWatch, VPC FLow Log is essential.&lt;/li&gt;
&lt;li&gt;DDoS - counteracting depending on the service (ALB, CloudFront, EC2) - is very helpful on the exam;) &lt;/li&gt;
&lt;li&gt;Use extra time for people with a leading language other than English (be sure to ask for it before registering for the exam);&lt;/li&gt;
&lt;li&gt;Take advantage of the previous exam discount (if you still have one) - AWS gives you a 50% discount coupon for each exam you pass.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>security</category>
      <category>certification</category>
    </item>
  </channel>
</rss>
