A00-215 Exam Question 1

You have a SAS dataset with a date variable 'START DATE' in the format 'YYYY-MM-DD'. You want to calculate the number of days between the 'START DATE' and the current date. Which SAS code snippet achieves this correctly?
  • A00-215 Exam Question 2

    You have a SAS dataset named 'SALES' with variables 'Region', 'Product', 'Quantity', and 'Price'. You want to create a report that displays only the 'Region' and 'Quantity' variables, but sorted in descending order of 'Quantity'. Which PROC PRINT statement achieves this?
  • A00-215 Exam Question 3

    Consider the following SAS code:

    During the compilation and execution of this code, which of the following statements are TRUE about the process of assigning values to the variable 'AGE GROUP'? Choose all that apply.
  • A00-215 Exam Question 4

    You're working with a dataset that contains employee salary information. You need to adjust the salary based on the following criteria: - If the employee is in the 'Management' department and their salary is less than $50,000, increase their salary by 10%. - If the employee is in the 'Sales' department and their salary is between $40,000 and $60,000, increase their salary by 5%. - Otherwise, leave the salary unchanged. Which of the following code snippets accurately implements this logic using the IF-THEN/ELSE structure?
  • A00-215 Exam Question 5

    You need to export a SAS dataset 'sales_data' to a CSV file, but you want to replace missing values with the string 'N/A'. Which option within the PROC EXPORT statement should you use?